Mercurial > mplayer.hg
diff libvo/vo_gl.c @ 18079:f57317460375
fixes and cleanup for windows fullscreen switching (restore old position,
fullscreen on current monitor).
author | reimar |
---|---|
date | Wed, 12 Apr 2006 14:11:26 +0000 |
parents | 0c5b35855061 |
children | d75953576ae4 |
line wrap: on
line diff
--- a/libvo/vo_gl.c Wed Apr 12 11:19:49 2006 +0000 +++ b/libvo/vo_gl.c Wed Apr 12 14:11:26 2006 +0000 @@ -327,13 +327,7 @@ } #endif #ifdef GL_WIN32 - o_dwidth = d_width; - o_dheight = d_height; - vo_fs = flags & VOFLAG_FULLSCREEN; - vo_vm = flags & VOFLAG_MODESWITCHING; - vo_dwidth = d_width; - vo_dheight = d_height; - if (!createRenderingContext()) + if (!vo_w32_config(d_width, d_height, flags)) return -1; #else if (WinID >= 0) {