zzogl: flush instead of sync to be sure the size is correct

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3753 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2010-09-11 10:50:16 +00:00
parent ecfb8efee5
commit 338589f900
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ void GLWindow::ToggleFullscreen()
XUnlockDisplay(glDisplay);
// Apply the change
XSync(glDisplay, False);
// Note: Xsync is not enough. All pending event must be flush.
XFlush(glDisplay);
// update info structure
GetWindowSize();