From ef707ee9d5bb2cdeb1a7d346d02bb2b39e0b4d02 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Mon, 3 Nov 2014 23:08:09 +0000 Subject: [PATCH] gl/cocoa: include gl3.h to have GL_CONTEXT_PROFILE_MASK --- gst-libs/gst/gl/gstglapi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst-libs/gst/gl/gstglapi.h b/gst-libs/gst/gl/gstglapi.h index fa6831ec70..d46a5f5b3d 100644 --- a/gst-libs/gst/gl/gstglapi.h +++ b/gst-libs/gst/gl/gstglapi.h @@ -70,6 +70,10 @@ # ifdef __APPLE__ # include # include +# if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7 +# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED +# include +# endif # include # else # include