Module: wine Branch: master Commit: 005efa740bc52530e047284834652fddfd26d18a URL: http://source.winehq.org/git/wine.git/?a=commit;h=005efa740bc52530e047284834...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Dec 29 12:41:32 2006 +0100
d3d8/tests: Avoid sizeof in traces.
---
dlls/d3d8/tests/device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c index b3c4c64..96f3a39 100644 --- a/dlls/d3d8/tests/device.c +++ b/dlls/d3d8/tests/device.c @@ -420,7 +420,7 @@ static void test_refcount(void) hr = IDirect3DDevice8_GetStreamSource(pDevice, 0, &pVBuf, &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); }
/* Shaders */