--- a/windowing/windowserver/tauto/tgc.cpp Wed May 19 14:34:22 2010 +0100
+++ b/windowing/windowserver/tauto/tgc.cpp Tue Jun 01 15:04:40 2010 +0100
@@ -1290,8 +1290,13 @@
* that we use matching color depths for our off-screen bitmaps so that accuracy is
* not lost since we compare bitmaps from the screen versus off-screen.
*/
- const TDisplayMode displayMode = device->DisplayMode();
-
+
+ TDisplayMode displayMode = device->DisplayMode();
+ if (TDisplayModeUtils::NumDisplayModeBitsPerPixel(displayMode) == 32)
+ {
+ displayMode = EColor16MAP;
+ }
+
_LIT(KText,"RemoteGc & MWsGraphicsContext");
TFontSpec fSpec(KTestFontTypefaceName,23);
fSpec.iFontStyle.SetBitmapType(EAntiAliasedGlyphBitmap);