Commit 6329f37d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

d3dx10/tests: Use SetRect() instead of open coding it.

parent 9c64ca0d
......@@ -344,10 +344,7 @@ float4 main(float4 color : COLOR) : SV_TARGET
for (i = 0; i < D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE; ++i)
{
tmp_rect[i].left = i;
tmp_rect[i].top = i * 2;
tmp_rect[i].right = i + 1;
tmp_rect[i].bottom = (i + 1) * 2;
SetRect(&tmp_rect[i], i, i * 2, i + 1, (i + 1) * 2);
tmp_viewport[i].TopLeftX = i * 3;
tmp_viewport[i].TopLeftY = i * 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