Fix vertical squishing in Real-XFB mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3548 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a398096584
commit
d4625bcd3a
|
@ -950,7 +950,13 @@ void Renderer::Swap()
|
|||
float u_max;
|
||||
float v_min = 0.f;
|
||||
float v_max;
|
||||
if (g_Config.bAutoScale)
|
||||
if (g_Config.bUseXFB)
|
||||
{
|
||||
u_max = XFB_WIDTH;
|
||||
v_min = 0;
|
||||
v_max = XFB_HEIGHT;
|
||||
}
|
||||
else if (g_Config.bAutoScale)
|
||||
{
|
||||
u_max = (s_efbSourceRc.right - s_efbSourceRc.left);
|
||||
v_min = (float)GetTargetHeight() - (s_efbSourceRc.bottom - s_efbSourceRc.top);
|
||||
|
|
Loading…
Reference in New Issue