d3dx10/tests: Use wine_dbgstr_rect() to print a RECT.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cd024a263f
commit
16a64e993d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue