summaryrefslogtreecommitdiff
path: root/src/corelib/fpg_base.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2014-07-24 23:47:26 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2014-07-25 00:45:53 +0100
commit2844077c0283f6d622fbdcddf2a356ee7ee1072f (patch)
tree50da50a2a483b7fc3c5291d75f37dfd7d55892df /src/corelib/fpg_base.pas
parent8477c23aa2e9633c2b4de36461405f3c4c45fa43 (diff)
downloadfpGUI-2844077c0283f6d622fbdcddf2a356ee7ee1072f.tar.xz
Fixed StretchDraw() "abstract error" due to DoFreeImage call.
Diffstat (limited to 'src/corelib/fpg_base.pas')
-rw-r--r--src/corelib/fpg_base.pas2
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;