Commit 4a67e66a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

d3d8/tests: Remove an always false condition (PVS-Studio).

parent 25b4a928
......@@ -66,7 +66,7 @@ static DWORD getPixelColor(IDirect3DDevice8 *device, UINT x, UINT y)
return 0xdeadbeef;
}
hr = IDirect3DTexture8_GetSurfaceLevel(tex, 0, &surf);
if(FAILED(hr) || !tex ) /* This is not a test */
if (FAILED(hr)) /* This is not a test */
{
trace("Can't get surface from texture, hr=%#08x\n", hr);
ret = 0xdeadbeee;
......
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