comparison libvo/vo_gl.c @ 25911:851db1ed62b4

Always redraw video on resize.
author reimar
date Thu, 31 Jan 2008 00:07:28 +0000
parents e614d49112b5
children 92db8b8c20d4
comparison
equal deleted inserted replaced
25910:74db93fee74f 25911:851db1ed62b4
147 // adjust font size to display size 147 // adjust font size to display size
148 force_load_font = 1; 148 force_load_font = 1;
149 #endif 149 #endif
150 vo_osd_changed(OSDTYPE_OSD); 150 vo_osd_changed(OSDTYPE_OSD);
151 } 151 }
152 if (vo_fs && use_aspect && !vo_doublebuffering) 152 glClear(GL_COLOR_BUFFER_BIT);
153 glClear(GL_COLOR_BUFFER_BIT); 153 flip_page();
154 } 154 }
155 155
156 static void texSize(int w, int h, int *texw, int *texh) { 156 static void texSize(int w, int h, int *texw, int *texh) {
157 if (use_rectangle) { 157 if (use_rectangle) {
158 *texw = w; *texh = h; 158 *texw = w; *texh = h;