From 57a871ad6f7a771d707e96a3617a0b342c3869f7 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 29 Apr 2013 12:17:22 +0100 Subject: agg: The Alpha color channel was ignored in DoSetColor() --- src/corelib/render/software/Agg2D.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/render/software') diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas index 50a68fb8..750014f5 100644 --- a/src/corelib/render/software/Agg2D.pas +++ b/src/corelib/render/software/Agg2D.pas @@ -3566,7 +3566,7 @@ begin c := fpgColorToRGB(cl); t := fpgColorToRGBTriple(c); - LineColor(t.Red, t.Green, t.Blue{, t.Alpha}); + LineColor(t.Red, t.Green, t.Blue, t.Alpha); end; procedure TAgg2D.DoSetLineStyle(awidth: integer; astyle: TfpgLineStyle); -- cgit v1.2.3-70-g09d2