http://bugs.winehq.org/show_bug.cgi?id=8489
Günther Brammer gbrammer@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #9804 is|0 |1 obsolete| |
--- Comment #19 from Günther Brammer gbrammer@gmx.de 2007-12-26 15:00:25 --- Created an attachment (id=9811) --> (http://bugs.winehq.org/attachment.cgi?id=9811) ddraw: Return a nullpointer as lpSurface in Lock() if the rect is invalid
I added a test and found out that windows only sets the lpSurface-member to zero, and that it does not even write all surface_desc-members. I changed Lock(), but I'm not sure wether the selection of members to write is correct for all cases.