http://bugs.winehq.org/show_bug.cgi?id=16542
Summary: SetDIBits, null DC and DIB_RGB_COLORS Product: Wine Version: 1.1.9 Platform: All OS/Version: Windows XP Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: surrel@visuol.com
MSDN help for SetDIBits states that:
"The device context identified by the hdc parameter is used only if the DIB_PAL_COLORS constant is set for the fuColorUse parameter; otherwise it is ignored"
When hdc is set to 0, with fuColorUse set to DIB_RGB_COLORS, Windows reports an error and one gets the WINE error message:
fixme:bitmap:SetDIBits shouldn't require a DC for DIB_RGB_COLORS
Apparently related to bug #15312
http://bugs.winehq.org/show_bug.cgi?id=16542
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows XP |other Platform|All |Other
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-12-17 06:34:13 --- Is that a theoretical issue? Or is there a real app that depends on this? In the latter case please add a test case.
http://bugs.winehq.org/show_bug.cgi?id=16542
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #2 from Austin English austinenglish@gmail.com 2009-06-16 14:29:28 --- Abandoned. If this is still an issue in current (1.1.23 or newer) wine, and you can provide the needed information, feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=16542
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com 2009-06-16 14:33:32 --- Closing.