OpenGL: Fixed the screenshot function now that I found all the buffers

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3366 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-06-08 00:44:48 +00:00
parent c779f95b87
commit 09a295779d
7 changed files with 123 additions and 129 deletions

View File

@ -150,9 +150,9 @@ bool OpenGL_Create(SVideoInitialize &_VideoInitialize, int _iwidth, int _iheight
}
else // Going Windowed
{
if (strlen(g_Config.iWindowedRes) > 1)
if (strlen(g_Config.iInternalRes) > 1)
{
sscanf(g_Config.iWindowedRes, "%dx%d", &_twidth, &_theight);
sscanf(g_Config.iInternalRes, "%dx%d", &_twidth, &_theight);
}
else // No Window resolution set, fall back to default
{