From 33b541701368ea38c097fce5d8e247e668a5162c Mon Sep 17 00:00:00 2001 From: sekelsenmat Date: Tue, 13 Dec 2011 07:15:44 +0000 Subject: [PATCH] Minor commenting improvement git-svn-id: trunk@34146 - --- lcl/interfaces/customdrawn/customdrawnwinapi_android.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lcl/interfaces/customdrawn/customdrawnwinapi_android.inc b/lcl/interfaces/customdrawn/customdrawnwinapi_android.inc index fe4ab3330e..16db52377e 100644 --- a/lcl/interfaces/customdrawn/customdrawnwinapi_android.inc +++ b/lcl/interfaces/customdrawn/customdrawnwinapi_android.inc @@ -2190,7 +2190,7 @@ begin {$ifdef VerboseCDText} DebugLn(Format(':>[WinAPI ExtTextOut] DC=%x javaEnvRef=%x Str=%s X=%d Y=%d', [DC, PtrInt(javaEnvRef), StrPas(Str), X, Y])); - www.{$endif} + {$endif} Result := False; @@ -2236,6 +2236,8 @@ begin UpdateControlLazImageAndCanvas(lImage, lCanvas, lWidth, lHeight, clfRGBA32, pixels, True, False, False); // Execute the copy, pixel by pixel with Alpha blending + // Simple AlphaBlend was showing redish areas in the emulator + // because misteriously it read the target area pixels as red lDestCanvas.AlphaBlendIgnoringSrcPixels(lCanvas, X, Y, 0, 0, lWidth, lHeight); // Release the helper objects