Michael Stefaniuc : d3dx10/tests: Use wine_dbgstr_rect() to print a RECT.

Alexandre Julliard julliard at winehq.org
Wed Jun 15 11:39:41 CDT 2016


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Jun 10 09:41:08 2016 +0200

d3dx10/tests: Use wine_dbgstr_rect() to print a RECT.

Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dx10_43/tests/d3dx10.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx10_43/tests/d3dx10.c b/dlls/d3dx10_43/tests/d3dx10.c
index b8bfa1c..44c2333 100644
--- a/dlls/d3dx10_43/tests/d3dx10.c
+++ b/dlls/d3dx10_43/tests/d3dx10.c
@@ -516,8 +516,8 @@ float4 main(float4 color : COLOR) : SV_TARGET
                     && tmp_rect[i].top == i * 2
                     && tmp_rect[i].right == i + 1
                     && tmp_rect[i].bottom == (i + 1) * 2,
-                    "Got unexpected scissor rect {%d, %d, %d, %d} in slot %u.\n",
-                    tmp_rect[i].left, tmp_rect[i].top, tmp_rect[i].right, tmp_rect[i].bottom, i);
+                    "Got unexpected scissor rect %s in slot %u.\n",
+                    wine_dbgstr_rect(&tmp_rect[i]), i);
     }
     ID3D10Device_RSGetViewports(device, &count, NULL);
     todo_wine ok(count == D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE,




More information about the wine-cvs mailing list