From 6d879f70c7ddb3431fc578fda020cfaaa8716e6c Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 31 Jan 2008 00:07:28 +0000 Subject: [PATCH] Always redraw video on resize. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25943 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_gl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index b0e1e495bd..67a666ce80 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -149,8 +149,8 @@ static void resize(int x,int y){ #endif vo_osd_changed(OSDTYPE_OSD); } - if (vo_fs && use_aspect && !vo_doublebuffering) - glClear(GL_COLOR_BUFFER_BIT); + glClear(GL_COLOR_BUFFER_BIT); + flip_page(); } static void texSize(int w, int h, int *texw, int *texh) {