skins/AknSkins/rlpluginsrc/AknsRlEffectPluginApplyGfx.cpp
changeset 2 abcbdabaa4c5
parent 0 05e9090e2422
--- a/skins/AknSkins/rlpluginsrc/AknsRlEffectPluginApplyGfx.cpp	Thu Jan 07 13:25:09 2010 +0200
+++ b/skins/AknSkins/rlpluginsrc/AknsRlEffectPluginApplyGfx.cpp	Mon Jan 18 21:12:52 2010 +0200
@@ -600,7 +600,10 @@
             if( (aParam.iOutputLayerStatus==KAknsRlLayerRGBOnly) ||
                 (aParam.iOutputLayerStatus==KAknsRlLayerRGBA) )
                 {
-                layerData.iRGBGc->BitBlt( drawPoint, bitmap, imgRect );
+                if ( layerData.iRGBGc )
+                    {
+                    layerData.iRGBGc->BitBlt( drawPoint, bitmap, imgRect );
+                    }
                 // When RGBOnly is queried alpha information is not filled ->
                 // we need to check alphaGc exists.
                 if (generatedMask && layerData.iAlphaGc)