[d3d8] Fix CreateImageSurface implementation (with testcase)

Tobias Jakobi liquid.acid at gmx.net
Fri Jun 20 07:57:27 CDT 2008

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:

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 :-)

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/20080620/4341c2b4/attachment.bin 

More information about the wine-patches mailing list