diff -r de3d5b6102ac -r 5e51caaeeb72 graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP --- a/graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP Tue Apr 27 17:59:32 2010 +0300 +++ b/graphicsdeviceinterface/screendriver/sbit/BMDRAW32.CPP Tue May 11 17:25:23 2010 +0300 @@ -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