From d96b09cd64e8bb8a473b39e965e70bdeda4023df Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 12 Apr 2006 14:11:26 +0000 Subject: 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 --- libvo/vo_gl2.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libvo/vo_gl2.c') diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 6b5396a855..94e946a7fc 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -595,15 +595,7 @@ static void draw_alpha_null(int x0,int y0, int w,int h, unsigned char* src, unsi #ifdef GL_WIN32 static int config_w32(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { - 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; if (vo_fs) -- cgit v1.2.3