Commit 94756f24 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

d3dx10/tests: Remove todo_wine from succeeding tests.

parent 65717d67
...@@ -526,15 +526,14 @@ float4 main(float4 color : COLOR) : SV_TARGET ...@@ -526,15 +526,14 @@ float4 main(float4 color : COLOR) : SV_TARGET
wine_dbgstr_rect(&tmp_rect[i]), i); wine_dbgstr_rect(&tmp_rect[i]), i);
} }
ID3D10Device_RSGetViewports(device, &count, NULL); ID3D10Device_RSGetViewports(device, &count, NULL);
todo_wine ok(count == D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE, ok(count == D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE,
"Got unexpected viewport count %u.\n", count); "Got unexpected viewport count %u.\n", count);
memset(tmp_viewport, 0x55, sizeof(tmp_viewport)); memset(tmp_viewport, 0x55, sizeof(tmp_viewport));
count = D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE; count = D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE;
ID3D10Device_RSGetViewports(device, &count, tmp_viewport); ID3D10Device_RSGetViewports(device, &count, tmp_viewport);
for (i = 0; i < D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE; ++i) for (i = 0; i < D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE; ++i)
{ {
todo_wine_if(i) ok(tmp_viewport[i].TopLeftX == i * 3
ok(tmp_viewport[i].TopLeftX == i * 3
&& tmp_viewport[i].TopLeftY == i * 4 && tmp_viewport[i].TopLeftY == i * 4
&& tmp_viewport[i].Width == 3 && tmp_viewport[i].Width == 3
&& tmp_viewport[i].Height == 4 && tmp_viewport[i].Height == 4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment