mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
d3dx9_36: Cast UINTs to FLOATs in d3dx9_line_Begin.
This commit is contained in:
parent
b87e167fa3
commit
b054fe94ee
@ -113,7 +113,7 @@ static HRESULT WINAPI d3dx9_line_Begin(ID3DXLine *iface)
|
||||
goto failed;
|
||||
|
||||
D3DXMatrixIdentity(&identity);
|
||||
D3DXMatrixOrthoOffCenterLH(&projection, 0.0, vp.Width, vp.Height, 0.0, 0.0, 1.0);
|
||||
D3DXMatrixOrthoOffCenterLH(&projection, 0.0, (FLOAT)vp.Width, (FLOAT)vp.Height, 0.0, 0.0, 1.0);
|
||||
|
||||
if (FAILED(IDirect3DDevice9_SetTransform(line->device, D3DTS_WORLD, &identity)))
|
||||
goto failed;
|
||||
|
Loading…
Reference in New Issue
Block a user