gl: move GL_NUM_EXTENSIONS definition after gl.h

https://bugzilla.gnome.org/show_bug.cgi?id=752743
This commit is contained in:
Julien Isorce 2015-07-06 00:45:45 +01:00
parent fb6457e90a
commit 90a1ff1383

View file

@ -40,15 +40,15 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#endif #endif
#ifndef GL_NUM_EXTENSIONS
#define GL_NUM_EXTENSIONS 0x0000821d
#endif
#include <gmodule.h> #include <gmodule.h>
#include "gl.h" #include "gl.h"
#include "gstglcontext.h" #include "gstglcontext.h"
#ifndef GL_NUM_EXTENSIONS
#define GL_NUM_EXTENSIONS 0x0000821d
#endif
#if GST_GL_HAVE_PLATFORM_GLX #if GST_GL_HAVE_PLATFORM_GLX
#include "x11/gstglcontext_glx.h" #include "x11/gstglcontext_glx.h"
#endif #endif