http://bugs.winehq.org/show_bug.cgi?id=18640
--- Comment #23 from Henri Verbeet hverbeet@gmail.com 2010-07-22 08:12:35 --- (In reply to comment #19)
Created an attachment (id=29770)
--> (http://bugs.winehq.org/attachment.cgi?id=29770) [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.