summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-31 00:07:28 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-31 00:07:28 +0000
commit6d879f70c7ddb3431fc578fda020cfaaa8716e6c (patch)
tree96cfd0ad68db702ad19bad5bb6d8addcbe0fc491
parent344013f8c78813df7b1826991c3ab5110a77be9d (diff)
downloadmpv-6d879f70c7ddb3431fc578fda020cfaaa8716e6c.tar.bz2
mpv-6d879f70c7ddb3431fc578fda020cfaaa8716e6c.tar.xz
Always redraw video on resize.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25943 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/vo_gl.c4
1 files 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) {