Commit b6263f66 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

d3d8/tests: Fix a test failure on VMware.

parent b446f749
......@@ -774,7 +774,9 @@ static void test_display_modes(void)
if(!pD3d) return;
max_modes = IDirect3D8_GetAdapterModeCount(pD3d, D3DADAPTER_DEFAULT);
ok(max_modes > 0, "GetAdapterModeCount(D3DADAPTER_DEFAULT) returned 0!\n");
ok(max_modes > 0 ||
broken(max_modes == 0), /* VMware */
"GetAdapterModeCount(D3DADAPTER_DEFAULT) returned 0!\n");
for(i=0; i<max_modes;i++) {
res = IDirect3D8_EnumAdapterModes(pD3d, D3DADAPTER_DEFAULT, i, &dmode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment