mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-29 18:07:08 +00:00
Detect ES 2.0 __gl2_h_ header too.
This commit is contained in:
parent
57eeedef9c
commit
6ceace91e7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user