mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
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:
parent
dc5eaad82c
commit
63f3e1ab8c
3 changed files with 6 additions and 6 deletions
|
@ -167,7 +167,7 @@ bool OpenGL_Create(SVideoInitialize &_VideoInitialize, int _iwidth, int _iheight
|
|||
float FactorH = 480.0f / (float)nBackbufferHeight;
|
||||
float Max = (FactorW < FactorH) ? FactorH : FactorW;
|
||||
|
||||
if(g_Config.bStretchToFit && g_Config.renderToMainframe)
|
||||
if(g_Config.bStretchToFit)
|
||||
{
|
||||
MValueX = 1.0f / FactorW;
|
||||
MValueY = 1.0f / FactorH;
|
||||
|
@ -621,7 +621,7 @@ void OpenGL_Update()
|
|||
float Max = (FactorW < FactorH) ? FactorH : FactorW;
|
||||
AR = (float)nBackbufferWidth / (float)nBackbufferHeight;
|
||||
|
||||
if (g_Config.bStretchToFit && g_Config.renderToMainframe)
|
||||
if (g_Config.bStretchToFit)
|
||||
{
|
||||
MValueX = 1;
|
||||
MValueY = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue