[MPlayer-cvslog] CVS: main/libvo vo_gl.c,1.110,1.111

Reimar Döffinger CVS syncmail at mplayerhq.hu
Tue Dec 6 23:35:56 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv17379

Modified Files:
	vo_gl.c 
Log Message:
Must use glFlush when doublebuffering is not used


Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- vo_gl.c	6 Dec 2005 22:23:06 -0000	1.110
+++ vo_gl.c	6 Dec 2005 22:35:54 -0000	1.111
@@ -530,11 +530,12 @@
     BindTexture(gl_target, 0);
   }
 
-//  glFlush();
   if (use_glFinish)
   glFinish();
   if (vo_doublebuffering)
     swapGlBuffers();
+  else if (!use_glFinish)
+    glFlush();
  
   if (vo_fs && use_aspect && vo_doublebuffering)
     glClear(GL_COLOR_BUFFER_BIT);




More information about the MPlayer-cvslog mailing list