mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +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)
|
||||
#error gl.h included before glew.h
|
||||
#endif
|
||||
#if defined(__gl2_h_)
|
||||
#error gl2.h included before glew.h
|
||||
#endif
|
||||
#if defined(__REGAL_H__)
|
||||
#error Regal.h included before glew.h
|
||||
#endif
|
||||
@ -16,6 +19,7 @@
|
||||
#endif
|
||||
|
||||
#define __gl_h_
|
||||
#define __gl2_h_
|
||||
#define __GL_H__
|
||||
#define __REGAL_H__
|
||||
#define __X_GL_H
|
||||
|
Loading…
Reference in New Issue
Block a user