summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2015-05-25 23:35:55 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2015-05-25 23:35:55 +0100
commit8437f63e4dcd482ddf94884a54c5772b591ebf88 (patch)
treecf4671644982fc55fc1b1c1f123e26b03eeff9a8
parent4b609c2b20df0f2980f407366c0bf16c4aeadfac (diff)
downloadfpGUI-8437f63e4dcd482ddf94884a54c5772b591ebf88.tar.xz
Fixes compiler error when AggCanvas is enabled.
Recently we removed some variables that were needed for AggCanvas ifdef'ed code.
-rw-r--r--src/corelib/fpg_base.pas3
1 files changed, 2 insertions, 1 deletions
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; //==>