d3d9: add a few tests for GetAdapterDisplayModeEx

Louis Lenders xerox_xerox2000 at yahoo.co.uk
Wed Jul 7 17:14:05 CDT 2010


On 7 July 2010 23:39, Louis Lenders <xerox_xerox2000 at yahoo.co.uk> wrote:
> +    todo_wine ok(mode_ex.ScanLineOrdering == D3DSCANLINEORDERING_PROGRESSIVE, 
>"ScanLineOrdering is %d instead of %d\n", mode_ex.ScanLineOrdering, 
>D3DSCANLINEORDERING_PROGRESSIVE);
> +    todo_wine ok(rotation == D3DDISPLAYROTATION_IDENTITY, "rotation is %d 
>instead of %d\n", rotation, D3DDISPLAYROTATION_IDENTITY);

>These obviously depend on the actual setup of the machine running the
>test. 

yeah, you have a suggestion how to change the test, or should i just leave 
them out of the test?


>It also seems likely that you're supposed to initialize
>mode_ex.Size before making the GetAdapterDisplayModeEx() call.

I did that in the test: test shows that it fails if mode_ex.Size is null, 
when it is set to sizeof(D3DDISPLAYMODEEX) it returns D3D_OK


      



More information about the wine-devel mailing list