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 committed by Tim-Philipp Müller
parent 485ad4f5c1
commit ac469a0d28

View file

@ -40,15 +40,15 @@
#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