[MPlayer-cvslog] r26872 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Sun May 25 13:06:51 CEST 2008


Author: reimar
Date: Sun May 25 13:06:51 2008
New Revision: 26872

Log:
Split flip_page function


Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	(original)
+++ trunk/libvo/vo_gl.c	Sun May 25 13:06:51 2008
@@ -589,9 +589,7 @@ static void draw_osd(void)
   }
 }
 
-static void
-flip_page(void)
-{
+static void do_render(void) {
 //  glEnable(GL_TEXTURE_2D);
 //  glBindTexture(GL_TEXTURE_2D, texture_id);
 
@@ -635,7 +633,10 @@ flip_page(void)
       glPopMatrix();
     BindTexture(gl_target, 0);
   }
+}
 
+static void flip_page(void) {
+  do_render();
   if (use_glFinish)
   glFinish();
   if (vo_doublebuffering)



More information about the MPlayer-cvslog mailing list