d3d8/tests: Remove an always false condition (PVS-Studio).
This commit is contained in:
parent
25b4a92813
commit
4a67e66a3d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue