From e0cf90a0c83c2bea51fa38f1f2a4c5c49f8c1dc5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 26 Mar 2016 19:39:38 +0100 Subject: [PATCH] build: allow plain-gl build on OSX Still requires Cocoa for various things, but no vo_opengl. Untested. Fixes #2980 (probably). --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index 7d09a7ddbf..47639d303e 100644 --- a/wscript +++ b/wscript @@ -777,8 +777,8 @@ video_output_features = [ check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol ), }, { - 'name': '--desktop-gl', - 'desc': 'Desktop OpengGL support', + 'name': '--standard-gl', + 'desc': 'Desktop standard OpengGL support', 'func': compose_checks( check_statement('GL/gl.h', '(void)GL_RGB32F'), # arbitrary OpenGL 3.0 symbol check_statement('GL/gl.h', '(void)GL_LUMINANCE16') # arbitrary OpenGL legacy-only symbol @@ -791,7 +791,7 @@ video_output_features = [ } , { 'name': '--any-gl', 'desc': 'Any OpenGL (ES) support', - 'deps_any': ['desktop-gl', 'android-gl'], + 'deps_any': ['standard-gl', 'android-gl', 'cocoa'], 'func': check_true } , { 'name': '--plain-gl',