diff --git a/wscript b/wscript index 312da2ef30..3569dbf060 100644 --- a/wscript +++ b/wscript @@ -608,7 +608,8 @@ video_output_features = [ 'groups': [ 'gl' ], 'func': check_statement('IOSurface/IOSurface.h', 'IOSurfaceRef surface;', - framework='IOSurface') + framework='IOSurface', + cflags=['-DGL_SILENCE_DEPRECATION']) } , { 'name': '--gl-x11', 'desc': 'OpenGL X11 Backend',