--- a/graphicsdeviceinterface/screendriver/sgeneric/scdraw.inl Fri Apr 16 16:21:04 2010 +0300
+++ b/graphicsdeviceinterface/screendriver/sgeneric/scdraw.inl Mon May 03 13:44:32 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -49,7 +49,7 @@
{ //Note: This will cause WServ startup to fail. WServ only accepts KErrNotSupported
return KErrHardwareNotAvailable;
}
- TInt ret = CDrawXxxBppBitmap::Construct(aSize);
+ TInt ret = CDrawXxxBppBitmap::Construct(aSize, iHelper.BytesPerScanline());
if (ret == KErrNone)
{
CDrawXxxBppBitmap::iBits = (TUint32*)iHelper.AddressFirstPixel();