Stretch to Fit option works in separate render window now.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@946 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
omegadox
2008-10-24 02:29:05 +00:00
parent dc5eaad82c
commit 63f3e1ab8c
3 changed files with 6 additions and 6 deletions

View File

@ -408,7 +408,7 @@ void VertexShaderMngr::SetConstants(VERTEXSHADER& vs)
hei = ceil(fabs(2 * rawViewport[1]));
}
if (g_Config.bStretchToFit && g_Config.renderToMainframe)
if (g_Config.bStretchToFit)
{
glViewport(
(int)(rawViewport[3]-rawViewport[0]-342-scissorXOff) + xoffs,