On 22 July 2010 10:45, Louis Lenders xerox_xerox2000@yahoo.co.uk wrote:
Hi Henri
I mean that I don't think the "rotation" argument to GetAdapterDisplayMode() should be allowed to be NULL.
I tested IDirect3D9Ex::GetAdapterDisplayModeEx and that allows pRotation to be NULL, and still happily retrieves all other (D3DDISPLAYMODEEX) info.
Well yes, but we control all the callers of IWineD3DGetAdapterDisplayMode(), so I'd rather have the added complexity of handling that in d3d9ex than in wined3d. I don't care very strongly about this point though.