mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
ecfb8efee5
commit
338589f900
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue