d3d10core/tests: Viewport properties are integers.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9e9b51f1b1
commit
28c04a64f6
|
@ -5617,10 +5617,10 @@ float4 main(const ps_in v) : SV_TARGET
|
|||
ID3D10Device_VSSetConstantBuffers(device, 1, 1, &colors_cb);
|
||||
ID3D10Device_PSSetShader(device, ps);
|
||||
|
||||
vp.TopLeftX = 0.0f;
|
||||
vp.TopLeftY = 0.0f;
|
||||
vp.Width = 640.0f;
|
||||
vp.Height = 480.0f;
|
||||
vp.TopLeftX = 0;
|
||||
vp.TopLeftY = 0;
|
||||
vp.Width = 640;
|
||||
vp.Height = 480;
|
||||
vp.MinDepth = 0.0f;
|
||||
vp.MaxDepth = 1.0f;
|
||||
ID3D10Device_RSSetViewports(device, 1, &vp);
|
||||
|
|
Loading…
Reference in New Issue