# HG changeset patch # User reimar # Date 1370816747 0 # Node ID 1a1d0d3220e7b6df03fbf75222e35203d4d58e9d # Parent f73711af11aeee527b020ab0b758e4ee36381bf4 Remove unnecessary wrapper function. diff -r f73711af11ae -r 1a1d0d3220e7 libvo/vo_gl.c --- 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; }