From ac469a0d28b22c0176043ddac01b2385469ad82b Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Mon, 6 Jul 2015 00:45:45 +0100 Subject: [PATCH] gl: move GL_NUM_EXTENSIONS definition after gl.h https://bugzilla.gnome.org/show_bug.cgi?id=752743 --- gst-libs/gst/gl/gstglcontext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index d4a286fa04..102abc274c 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -40,15 +40,15 @@ #define _GNU_SOURCE #endif -#ifndef GL_NUM_EXTENSIONS -#define GL_NUM_EXTENSIONS 0x0000821d -#endif - #include #include "gl.h" #include "gstglcontext.h" +#ifndef GL_NUM_EXTENSIONS +#define GL_NUM_EXTENSIONS 0x0000821d +#endif + #if GST_GL_HAVE_PLATFORM_GLX #include "x11/gstglcontext_glx.h" #endif