[d3d8] Fix CreateImageSurface implementation (with testcase) (corrected)

Tobias Jakobi liquid.acid at gmx.net
Wed Jun 25 10:06:40 CDT 2008


Hi there,

here is the corrected version (indentation) of my patch. Since H. 
Verbeet didn't contact me again about the "problems" with the comments I 
think this one is clean now.


My original message:

Patch fixes a problem with the IDirect3DDevice8::CreateImageSurface
implementation (wrong pool type of the returned surface object). This
fixes savegame screenshot bugs (black images instead of game scenes) in
both Max Payne and Max Payne 2.

Affected bugs:
http://bugs.winehq.org/show_bug.cgi?id=9775
http://bugs.winehq.org/show_bug.cgi?id=7801

Test case is included and verifies behaviour on both Windows XP and Vista.
This is my first patch for wine and also my first post on the
wine-patches ml, so if I'm doing anything wrong here please tell me and
I try to do better next time :-)

Greets,
Tobias Jakobi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: d3d8_Fix-CreateImageSurface-implementation-with-testcase.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080625/7e9ccff0/attachment.bin 


More information about the wine-patches mailing list