mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
* Keeping resolution aligned to back-buffer size if the latter one is changed (can give a huge performance boost... even until to 100% in some cases)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7086 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -162,10 +162,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;
|
||||
|
Reference in New Issue
Block a user