From 1fbf53cbdf7b03d139107249fbe10a256f3d4897 Mon Sep 17 00:00:00 2001 From: gnick79 Date: Wed, 5 Jan 2011 01:29:38 +0000 Subject: [PATCH] * By forcing resolution size to back-buffer size when the latter one is changed! git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6742 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/RenderBase.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/Src/RenderBase.cpp b/Source/Core/VideoCommon/Src/RenderBase.cpp index b8dce52586..72d23cdc2f 100644 --- a/Source/Core/VideoCommon/Src/RenderBase.cpp +++ b/Source/Core/VideoCommon/Src/RenderBase.cpp @@ -152,10 +152,13 @@ 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_Fulltarget_width = s_target_width = newEFBWidth; - s_Fulltarget_height = s_target_height = newEFBHeight; + s_target_width = newEFBWidth; + s_target_height = newEFBHeight; return true; } return false;