[ros-bugs] [Bug 3082] draw/bitblt errors after CopyImage and StretchDIBits
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Sun Jun 1 22:49:09 CEST 2008
http://www.reactos.org/bugzilla/show_bug.cgi?id=3082
--- Comment #6 from grschneider <grschneider at gmail.com> 2008-06-01 22:49:08 CET ---
I applied your patch, but then explorer wouldn't start properly.
So re-inserted the hack and added some debugprints to dibobj.c right before the
hacked EngCreateBitmap call:
DPRINT1("DestSize.cx: %d\n", DestSize.cx);
DPRINT1("DIB_GetDIBWidthBytes: %d, HACK: %d\n",
DIB_GetDIBWidthBytes(DestSize.cx, Info->bmiHeader.biBitCount), DestSize.cx *
(Info->bmiHeader.biBitCount >> 3));
DestSize.cx is '35' for the testcase (the displayed icon is 35px * 34px), not a
negative value
DIB_GetDIBWidthBytes outputs '72'
the hack "DestSize.cx * (Info->bmiHeader.biBitCount >> 3)" calculates '70'
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Ros-bugs
mailing list