Commit 46f0538a authored by Austin English's avatar Austin English Committed by Alexandre Julliard

ddraw: Fix unused variable warnings (LLVM/Clang).

parent f9facad2
......@@ -1294,7 +1294,6 @@ static void Direct3D1Test(void)
memset(desc.lpData, 0, 128);
instr = desc.lpData;
idx = 0;
instr->bOpcode = D3DOP_TRIANGLE;
instr->bSize = sizeof(D3DOP_TRIANGLE);
......@@ -3684,6 +3683,7 @@ static void BackBuffer3DCreateSurfaceTest(void)
memset(&ddcaps, 0, sizeof(ddcaps));
ddcaps.dwSize = sizeof(DDCAPS);
hr = IDirectDraw_GetCaps(DirectDraw1, &ddcaps, NULL);
ok(SUCCEEDED(hr), "DirectDraw_GetCaps failed: 0x%08x\n", hr);
if (!(ddcaps.ddsCaps.dwCaps & DDSCAPS_VIDEOMEMORY))
{
skip("DDraw reported no VIDEOMEMORY cap. Broken video driver? Skipping surface caps tests.\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