Stefan Dösinger : d3d9: Abort the x8l8v8u8 test if the format is not supported.

Alexandre Julliard julliard at winehq.org
Thu Nov 12 10:22:11 CST 2009


Module: wine
Branch: master
Commit: 7f961c0796aac64955e43a40952ef29b056f510b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7f961c0796aac64955e43a40952ef29b056f510b

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Sat Nov  7 17:12:49 2009 +0100

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

---

 dlls/d3d9/tests/visual.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 55de959..b871ad7 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -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);




More information about the wine-cvs mailing list