Apply same force to float fix as has already been done for DX11.

This commit is contained in:
Matthew Parlane 2012-12-23 20:01:58 +13:00
parent 3a2c0b778a
commit 089434b719
1 changed files with 2 additions and 2 deletions

View File

@ -704,8 +704,8 @@ void Renderer::UpdateViewport(Matrix44& vpCorrection)
// If GX viewport is off the render target, we must clamp our viewport
// within the bounds. Use the correction matrix to compensate.
ViewportCorrectionMatrix(vpCorrection,
intendedX, intendedY, intendedWd, intendedHt,
X, Y, Wd, Ht);
(float)intendedX, (float)intendedY, (float)intendedWd, (float)intendedHt,
(float)X, (float)Y, (float)Wd, (float)Ht);
D3DVIEWPORT9 vp;
vp.X = X;