diff --git a/Source/Core/VideoCommon/Src/RenderBase.cpp b/Source/Core/VideoCommon/Src/RenderBase.cpp index 9029f5eff9..237605ccf3 100644 --- a/Source/Core/VideoCommon/Src/RenderBase.cpp +++ b/Source/Core/VideoCommon/Src/RenderBase.cpp @@ -178,13 +178,10 @@ bool Renderer::CalculateTargetSize(int multiplier) newEFBWidth *= multiplier; newEFBHeight *= multiplier; - s_Fulltarget_width = newEFBWidth; - s_Fulltarget_height = newEFBHeight; - if (newEFBWidth != s_target_width || newEFBHeight != s_target_height) { - s_target_width = newEFBWidth; - s_target_height = newEFBHeight; + s_Fulltarget_width = s_target_width = newEFBWidth; + s_Fulltarget_height = s_target_height = newEFBHeight; return true; } return false; diff --git a/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp index 21e9278f70..2239d41a71 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/Render.cpp @@ -707,6 +707,7 @@ void Renderer::UpdateViewport() float newy = (float)Y; float newwidth = (float)Width; float newheight = (float)Height; + // TODO: If the size hasn't changed for X frames, we should probably shrink the EFB texture for performance reasons if (sizeChanged) { // Make sure that the requested size is actually supported by the GFX driver diff --git a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp index 765f337bed..75bb25b97e 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp @@ -747,6 +747,8 @@ void Renderer::UpdateViewport() sizeChanged = true; } } + + // TODO: If the size hasn't changed for X frames, we should probably shrink the EFB texture for performance reasons if (sizeChanged) { const int ideal_width = s_Fulltarget_width;