gl: move GL_NUM_EXTENSIONS definition after gl.h
authorJulien Isorce <julien.isorce@gmail.com>
Sun, 5 Jul 2015 23:45:45 +0000 (00:45 +0100)
committerJulien Isorce <julien.isorce@gmail.com>
Thu, 23 Jul 2015 23:03:26 +0000 (00:03 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=752743

gst-libs/gst/gl/gstglcontext.c

index d4a286f..102abc2 100644 (file)
 #define _GNU_SOURCE
 #endif
 
-#ifndef GL_NUM_EXTENSIONS
-#define GL_NUM_EXTENSIONS 0x0000821d
-#endif
-
 #include <gmodule.h>
 
 #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