Separated checks for gl2.h defines and gl2ext.h defines in Evas_GL.h.

SVN revision: 71270
This commit is contained in:
Sung Park 2012-05-21 08:01:28 +00:00
parent 29504633fc
commit 8250180aec
1 changed files with 11 additions and 0 deletions

View File

@ -1038,6 +1038,17 @@ typedef signed long int GLsizeiptr; // Changed khronos_ssize_t
#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
#else
# ifndef EVAS_GL_NO_GL_H_CHECK
# error "You may only include either Evas_GL.h OR use your native OpenGL's headers. If you use Evas to do GL, then you cannot use the native gl headers."
# endif
#endif
#if !defined(__glext_h_) && !defined(__gl2ext_h_)
# define __glext_h_
# define __gl2ext_h_
//---------------------------//
// GLES extension defines