d3d: Fix EnumAdapterModes and add an adapter mode format test

Chris Robinson chris.kcat at gmail.com
Sat Dec 9 12:28:03 CST 2006


This patch fixes D3D adapter mode enumeration, which clears some issues some 
games had when starting (eg. Morrowind being unable to set a mode). I've 
added an adapter test (modified from the texture test) to D3D 9 which tests 
all the D3DFORMAT types.

Apologies for the macro (a)buse in the test, but it would've been more 
combersome to have to manually make strings for each of the modes without it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d-eam.diff
Type: text/x-diff
Size: 10671 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061209/a8eac67a/wined3d-eam-0001.bin


More information about the wine-patches mailing list