summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-12 14:11:26 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-04-12 14:11:26 +0000
commitd96b09cd64e8bb8a473b39e965e70bdeda4023df (patch)
tree616e7c2b2242a7dca378888d2dd2cef17097c47e /libvo/vo_gl.c
parent27ea82157718ebafa1f68a3b517a2e1d18d2f370 (diff)
downloadmpv-d96b09cd64e8bb8a473b39e965e70bdeda4023df.tar.bz2
mpv-d96b09cd64e8bb8a473b39e965e70bdeda4023df.tar.xz
fixes and cleanup for windows fullscreen switching (restore old position,
fullscreen on current monitor). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18080 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index c69d56500e..91f0f8da02 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -327,13 +327,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
}
#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) {