Hack around some fullscreen issues with gl under Windows

(non-fullscreen window would not always return to original size).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23607 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-06-22 22:06:58 +00:00
parent a969d1681b
commit 265c1a174e
1 changed files with 3 additions and 0 deletions

View File

@ -277,6 +277,9 @@ static int createRenderingContext(void) {
vo_dx = xinerama_x;
vo_dy = xinerama_y;
} else {
// make sure there are no "stale" resize events
// that would set vo_d* to wrong values
vo_w32_check_events();
vo_dwidth = prev_width;
vo_dheight = prev_height;
vo_dx = prev_x;