gl: allow to include GLES/gl.h

https://bugzilla.gnome.org/show_bug.cgi?id=703343
This commit is contained in:
Julien Isorce 2014-03-24 12:08:43 +00:00
parent 6a2e39eefa
commit d93ed2b870

View file

@ -54,8 +54,12 @@ G_BEGIN_DECLS
#define GL_COLOR_ATTACHMENT1 0
#define GL_COLOR_ATTACHMENT2 0
#ifndef GL_TEXTURE_ENV
#define GL_TEXTURE_ENV 0
#endif
#ifndef GL_TEXTURE_ENV_MODE
#define GL_TEXTURE_ENV_MODE 0
#endif
#define GL_DEPTH24_STENCIL8 0
G_END_DECLS