From 8437f63e4dcd482ddf94884a54c5772b591ebf88 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 25 May 2015 23:35:55 +0100 Subject: Fixes compiler error when AggCanvas is enabled. Recently we removed some variables that were needed for AggCanvas ifdef'ed code. --- src/corelib/fpg_base.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/corelib/fpg_base.pas b/src/corelib/fpg_base.pas index 32b64394..9177e420 100644 --- a/src/corelib/fpg_base.pas +++ b/src/corelib/fpg_base.pas @@ -2273,11 +2273,12 @@ procedure TfpgImageBase.CreateMaskFromSample(x, y: TfpgCoord); var p: ^longword; pmsk: ^byte; - c: longword; + c, n: longword; linecnt: integer; pixelcnt: integer; bit: byte; msklinelen: integer; + row, col: integer; begin if FColorDepth = 1 then Exit; //==> -- cgit v1.2.3-70-g09d2