changeset 36228:1a1d0d3220e7

Remove unnecessary wrapper function.
author reimar
date Sun, 09 Jun 2013 22:25:47 +0000
parents f73711af11ae
children 430a2b6238bb
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Sun Jun 09 22:16:15 2013 +0000
+++ b/libvo/vo_gl.c	Sun Jun 09 22:25:47 2013 +0000
@@ -678,14 +678,6 @@
   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 @@
   initGl();
 
 #ifdef CONFIG_GL_OSX
-  vo_osx_redraw_func = osx_redraw;
+  vo_osx_redraw_func = resize;
 #endif
   return 0;
 }