diff libvo/vo_gl.c @ 35089:a87c434ecaa3

Allow compiling -vo gl with OSX backend even if X11 and SDL are not available.
author reimar
date Thu, 13 Sep 2012 19:57:24 +0000
parents 078a00af881c
children cc8276116e95
line wrap: on
line diff
--- a/libvo/vo_gl.c	Thu Sep 13 19:41:02 2012 +0000
+++ b/libvo/vo_gl.c	Thu Sep 13 19:57:24 2012 +0000
@@ -631,7 +631,7 @@
   if (glctx.type == GLTYPE_W32 && !vo_w32_config(d_width, d_height, flags))
     return -1;
 #endif
-#ifdef CONFIG_COREVIDEO
+#ifdef CONFIG_GL_OSX
   if (glctx.type == GLTYPE_OSX && !vo_osx_config(d_width, d_height, flags))
     return -1;
 #endif