Alexandre Julliard : d3d9/tests: Avoid sizeof in traces.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Dec 29 06:47:30 CST 2006
Module: wine
Branch: master
Commit: 7d1f36aa1c6b2f3612a8fa848698bc57e75f9d9d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7d1f36aa1c6b2f3612a8fa848698bc57e75f9d9d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Dec 29 12:41:36 2006 +0100
d3d9/tests: Avoid sizeof in traces.
---
dlls/d3d9/tests/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index c82f65b..d0347ca 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -469,7 +469,7 @@ static void test_refcount(void)
hr = IDirect3DDevice9_GetStreamSource(pDevice, 0, &pVBuf, &offset, &stride);
ok(SUCCEEDED(hr), "GetStreamSource did not succeed with NULL stream!\n");
ok(pVBuf==NULL, "pVBuf not NULL (%p)!\n", pVBuf);
- ok(stride==3*sizeof(float), "stride not %u (got %u)!\n", 3*sizeof(float), stride);
+ ok(stride==3*sizeof(float), "stride not 3 floats (got %u)!\n", stride);
ok(offset==0, "offset not 0 (got %u)!\n", offset);
}
/* Shaders */
More information about the wine-cvs
mailing list