diff -r bbf46f59e123 -r 25ffed67c7ef graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP --- a/graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP Tue Aug 31 16:31:06 2010 +0300 +++ b/graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP Wed Sep 01 12:39:21 2010 +0100 @@ -32,6 +32,11 @@ /**Initializes iSize, iDrawRect, iLongWidth, iScanLineBytes, iScanlineWords data members. It should be called every time when iSize is going to be changed - from Construct(). + If you are calling SetSize for an offscreen bitmap then this function operates correctly + but for hardware bitmaps the calculated values for iScanLineWords and iLongWidth members + may not be compatible. For hardware bitmaps you should explicitly set iScanLineWords to + a correct value as shown in CGuidScreenDevice::SetDeviceOrientation. + @param aSize Physical screen size in pixels. @panic EScreenDriverPanicInvalidSize - Invalid aSize parameter. This might happen if the