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

ddraw/tests: Fix some test failures on WinME/VMware.

parent 87441ff8
...@@ -2294,7 +2294,8 @@ static void p8_primary_test(void) ...@@ -2294,7 +2294,8 @@ static void p8_primary_test(void)
U1(ddsd.ddpfPixelFormat).dwRGBBitCount = 8; U1(ddsd.ddpfPixelFormat).dwRGBBitCount = 8;
hr = IDirectDraw_CreateSurface(DirectDraw1, &ddsd, &offscreen, NULL); hr = IDirectDraw_CreateSurface(DirectDraw1, &ddsd, &offscreen, NULL);
ok(hr == DD_OK || ok(hr == DD_OK ||
broken(hr == DDERR_INVALIDPIXELFORMAT), /* VMware */ broken(hr == DDERR_INVALIDPIXELFORMAT) || /* VMware */
broken(hr == DDERR_NODIRECTDRAWHW), /* VMware */
"IDirectDraw_CreateSurface returned %08x\n", hr); "IDirectDraw_CreateSurface returned %08x\n", hr);
if (FAILED(hr)) goto out; if (FAILED(hr)) goto out;
...@@ -2614,7 +2615,7 @@ static void cubemap_test(IDirect3DDevice7 *device) ...@@ -2614,7 +2615,7 @@ static void cubemap_test(IDirect3DDevice7 *device)
if(SUCCEEDED(hr)) if(SUCCEEDED(hr))
{ {
hr = IDirect3DDevice7_DrawPrimitive(device, D3DPT_TRIANGLESTRIP, D3DFVF_XYZ | D3DFVF_TEXCOORDSIZE3(0) | D3DFVF_TEX1, quad + 0 * 6, 4, 0); hr = IDirect3DDevice7_DrawPrimitive(device, D3DPT_TRIANGLESTRIP, D3DFVF_XYZ | D3DFVF_TEXCOORDSIZE3(0) | D3DFVF_TEX1, quad + 0 * 6, 4, 0);
if (hr == E_NOTIMPL) if (hr == DDERR_UNSUPPORTED || hr == DDERR_NODIRECTDRAWHW)
{ {
/* VMware */ /* VMware */
win_skip("IDirect3DDevice7_DrawPrimitive is not completely implemented, colors won't be tested\n"); win_skip("IDirect3DDevice7_DrawPrimitive is not completely implemented, colors won't be tested\n");
......
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