summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/video_out.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 1ac5164ada..82fe4f8550 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -137,6 +137,9 @@ const struct vo_driver *video_out_drivers[] =
#ifdef CONFIG_KVA
&video_out_kva,
#endif
+#ifdef CONFIG_GL_COCOA
+ &video_out_gl,
+#endif
#ifdef CONFIG_COREVIDEO
&video_out_corevideo,
#endif
@@ -174,7 +177,7 @@ const struct vo_driver *video_out_drivers[] =
#ifdef CONFIG_SDL
&video_out_sdl,
#endif
-#ifdef CONFIG_GL
+#if (defined CONFIG_GL && !defined CONFIG_GL_COCOA)
&video_out_gl,
#endif
#ifdef CONFIG_GL_SDL