[MPlayer-cvslog] CVS: main/libvo vo_gl.c,1.87,1.88

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri Aug 19 14:16:54 CEST 2005


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	vo_gl.c 
Log Message:
Do not set SwapInterval for values < 0.


Index: vo_gl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_gl.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- vo_gl.c	19 Aug 2005 09:31:02 -0000	1.87
+++ vo_gl.c	19 Aug 2005 12:16:52 -0000	1.88
@@ -150,7 +150,7 @@
 
   glClearColor( 0.0f,0.0f,0.0f,0.0f );
   glClear( GL_COLOR_BUFFER_BIT );
-  if (SwapInterval)
+  if (SwapInterval && swap_interval >= 0)
     SwapInterval(swap_interval);
   gl_buffer = 0;
   gl_buffersize = 0;




More information about the MPlayer-cvslog mailing list