http://bugs.winehq.org/show_bug.cgi?id=18640
--- Comment #24 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-07-22 10:27:46 --- (In reply to comment #23)
(In reply to comment #19)
Created an attachment (id=29770)
--> (http://bugs.winehq.org/attachment.cgi?id=29770) [details] [details]
patch 1
here's a new series of patches. I extended IWindeD3DGetAdapterDisplayMode to look more similar to ID3D9GetAdapterDisplayModeEx.
- hr = IWineD3D_GetAdapterDisplayMode(This->WineD3D, Adapter, (WINED3DDISPLAYMODE *) pMode);
- hr = IWineD3D_GetAdapterDisplayMode(This->WineD3D, Adapter, (WINED3DDISPLAYMODE *) pMode, NULL);
It's not *that* easy. The WINED3DDISPLAYMODE and D3DDISPLAYMODE structures are now incompatible.
oops yeah, i remember that's why i created a seperate structure for WINED3DDISPLAYMODE and WINED3DSCANLINEORDERING in my first patch, as that required the minimum set of changes to the current code in d3d8/d3d9/wined3d. I'll give it another try