Detect ES 2.0 __gl2_h_ header too.

This commit is contained in:
Nigel Stewart 2012-08-27 22:20:33 -05:00
parent 57eeedef9c
commit 6ceace91e7

View File

@ -5,6 +5,9 @@
#if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H) #if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H)
#error gl.h included before glew.h #error gl.h included before glew.h
#endif #endif
#if defined(__gl2_h_)
#error gl2.h included before glew.h
#endif
#if defined(__REGAL_H__) #if defined(__REGAL_H__)
#error Regal.h included before glew.h #error Regal.h included before glew.h
#endif #endif
@ -16,6 +19,7 @@
#endif #endif
#define __gl_h_ #define __gl_h_
#define __gl2_h_
#define __GL_H__ #define __GL_H__
#define __REGAL_H__ #define __REGAL_H__
#define __X_GL_H #define __X_GL_H