Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Apply same force to float fix as has already been done for DX11.
  • Loading branch information
Parlane committed Dec 23, 2012
1 parent 3a2c0b7 commit 089434b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Plugins/Plugin_VideoDX9/Src/Render.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 089434b

Please sign in to comment.