diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2014-07-24 23:47:26 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-07-25 00:45:53 +0100 |
commit | 2844077c0283f6d622fbdcddf2a356ee7ee1072f (patch) | |
tree | 50da50a2a483b7fc3c5291d75f37dfd7d55892df /src/corelib | |
parent | 8477c23aa2e9633c2b4de36461405f3c4c45fa43 (diff) | |
download | fpGUI-2844077c0283f6d622fbdcddf2a356ee7ee1072f.tar.xz |
Fixed StretchDraw() "abstract error" due to DoFreeImage call.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/fpg_base.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/fpg_base.pas b/src/corelib/fpg_base.pas index 7ee462c4..96332d5d 100644 --- a/src/corelib/fpg_base.pas +++ b/src/corelib/fpg_base.pas @@ -2105,7 +2105,7 @@ end; procedure TfpgBaseInterpolation.Execute(x, y, w, h: integer); begin - tempimage := TfpgImageBase.Create; + tempimage := TfpgImage.Create; tempimage.AllocateImage(image.ColorDepth, w, image.Height); xfactor := image.Width / w; |