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

This commit is contained in:
Stefan Dösinger 2009-11-07 17:12:49 +01:00 committed by Alexandre Julliard
parent 0e77a381ea
commit 7f961c0796
1 changed files with 1 additions and 0 deletions

View File

@ -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);