Michael Stefaniuc : d3drm/tests: Test the correct return code.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 30 10:12:58 CDT 2015
Module: wine
Branch: master
Commit: 8abed244a23ab46dc71a1aa358727ba87e36f374
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8abed244a23ab46dc71a1aa358727ba87e36f374
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Mar 30 10:19:14 2015 +0200
d3drm/tests: Test the correct return code.
---
dlls/d3drm/tests/d3drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3drm/tests/d3drm.c b/dlls/d3drm/tests/d3drm.c
index 515aace..5fbd281 100644
--- a/dlls/d3drm/tests/d3drm.c
+++ b/dlls/d3drm/tests/d3drm.c
@@ -826,7 +826,7 @@ static void test_Face(void)
ok(count == 4, "count = %u\n", count);
hr = IDirect3DRMFaceArray_GetElement(array1, 1, &face);
ok(hr == D3DRM_OK, "Cannot get face (hr = %x)\n", hr);
- IDirect3DRMFace_GetVertices(face, &count, v2, n2);
+ hr = IDirect3DRMFace_GetVertices(face, &count, v2, n2);
ok(hr == D3DRM_OK, "Cannot get vertices information (hr = %x)\n", hr);
ok(count == 3, "Wrong number of vertices %d (must be 3)\n", count);
ok(U1(v2[0]).x == U1(v1[0]).x, "Wrong component v2[0].x = %f (expected %f)\n",
More information about the wine-cvs
mailing list