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

reimar subversion at mplayerhq.hu
Mon Jun 10 00:25:47 CEST 2013


Author: reimar
Date: Mon Jun 10 00:25:47 2013
New Revision: 36324

Log:
Remove unnecessary wrapper function.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Mon Jun 10 00:16:15 2013	(r36323)
+++ trunk/libvo/vo_gl.c	Mon Jun 10 00:25:47 2013	(r36324)
@@ -678,14 +678,6 @@ static int create_window(uint32_t d_widt
   return mpglcontext_create_window(&glctx, d_width, d_height, flags, title);
 }
 
-#ifdef CONFIG_GL_OSX
-static void osx_redraw(void)
-{
-  // resize will call redraw to refresh the screen
-  resize();
-}
-#endif
-
 /* connect to server, create and map window,
  * allocate colors and (shared) memory
  */
@@ -717,7 +709,7 @@ config(uint32_t width, uint32_t height, 
   initGl();
 
 #ifdef CONFIG_GL_OSX
-  vo_osx_redraw_func = osx_redraw;
+  vo_osx_redraw_func = resize;
 #endif
   return 0;
 }


More information about the MPlayer-cvslog mailing list