From 358883bd8c4db329bf07d93d976071e950604358 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 24 Jul 2014 23:47:26 +0100 Subject: Fixed StretchDraw() "abstract error" due to DoFreeImage call. --- src/corelib/fpg_base.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2