Commit 7f961c07 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

d3d9: Abort the x8l8v8u8 test if the format is not supported.

parent 0e77a381
......@@ -4241,6 +4241,7 @@ static void x8l8v8u8_test(IDirect3DDevice9 *device)
IDirect3D9_Release(d3d9);
if(FAILED(hr)) {
skip("No D3DFMT_X8L8V8U8 support\n");
return;
};
hr = IDirect3DDevice9_Clear(device, 0, NULL, D3DCLEAR_TARGET, 0xffff0000, 0.0, 0);
......
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