GregMiscellaneous: zzogl: Restore the good size when quit fullscreen.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3743 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2010-09-08 19:04:11 +00:00
parent ff33ea5348
commit 2a9e644b18
1 changed files with 5 additions and 1 deletions

View File

@ -234,7 +234,11 @@ void GLWindow::ToggleFullscreen()
UpdateGrabKey();
Force43Ratio();
// avoid black border in widescreen fullscreen
if (fullScreen && conf.isWideScreen) {
conf.width = width;
conf.height = height;
}
// Hide the cursor in the right bottom corner
if(fullScreen)