summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2014-07-24 23:47:26 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2014-07-24 23:49:26 +0100
commit358883bd8c4db329bf07d93d976071e950604358 (patch)
treeb82a61de53a6285225fb0f46e1631968d3ac55bd /src
parentd35d988ed4c394ad4fbac469295de010f9371354 (diff)
downloadfpGUI-358883bd8c4db329bf07d93d976071e950604358.tar.xz
Fixed StretchDraw() "abstract error" due to DoFreeImage call.
Diffstat (limited to 'src')
-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;