mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
* 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
This commit is contained in:
parent
dd7d325453
commit
1fbf53cbdf
1 changed files with 5 additions and 2 deletions
|
@ -152,10 +152,13 @@ bool Renderer::CalculateTargetSize(int multiplier)
|
||||||
newEFBWidth *= multiplier;
|
newEFBWidth *= multiplier;
|
||||||
newEFBHeight *= multiplier;
|
newEFBHeight *= multiplier;
|
||||||
|
|
||||||
|
s_Fulltarget_width = newEFBWidth;
|
||||||
|
s_Fulltarget_height = newEFBHeight;
|
||||||
|
|
||||||
if (newEFBWidth != s_target_width || newEFBHeight != s_target_height)
|
if (newEFBWidth != s_target_width || newEFBHeight != s_target_height)
|
||||||
{
|
{
|
||||||
s_Fulltarget_width = s_target_width = newEFBWidth;
|
s_target_width = newEFBWidth;
|
||||||
s_Fulltarget_height = s_target_height = newEFBHeight;
|
s_target_height = newEFBHeight;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue