Michael Stefaniuc : d3dx9_36/tests: Check the correct return value.

Alexandre Julliard julliard at winehq.org
Tue May 22 14:21:29 CDT 2012


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue May 22 11:36:20 2012 +0200

d3dx9_36/tests: Check the correct return value.

---

 dlls/d3dx9_36/tests/shader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3dx9_36/tests/shader.c b/dlls/d3dx9_36/tests/shader.c
index d11a918..aa3ac12 100644
--- a/dlls/d3dx9_36/tests/shader.c
+++ b/dlls/d3dx9_36/tests/shader.c
@@ -480,7 +480,7 @@ static void test_setting_basic_table(IDirect3DDevice9 *device)
     res = ID3DXConstantTable_SetMatrix(ctable, device, "mvp", &mvp);
     ok(res == D3D_OK, "ID3DXConstantTable_SetMatrix failed on variable mvp: got 0x%08x\n", res);
 
-    ID3DXConstantTable_SetInt(ctable, device, "i", i + 1);
+    res = ID3DXConstantTable_SetInt(ctable, device, "i", i + 1);
     ok(res == D3D_OK, "ID3DXConstantTable_SetInt failed on variable i: got 0x%08x\n", res);
 
     /* Check that setting i again will overwrite the previous value */




More information about the wine-cvs mailing list