From 089434b719750b4fc3e173b0cb2a25d6021ec377 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Sun, 23 Dec 2012 20:01:58 +1300 Subject: [PATCH] Apply same force to float fix as has already been done for DX11. --- Source/Plugins/Plugin_VideoDX9/Src/Render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp index 240f3470ef..b9ba968211 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp @@ -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;