ector_gl: Add some EGL typedefs to internal header

This lets us include EGL/egl.h in gl_common.
This commit is contained in:
Derek Foreman 2016-12-19 14:28:49 -06:00
parent 93899429ef
commit 98ef74eeba
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,14 @@ extern Ector_GL_API GL;
// ignore everything below this point
// --------------------------------------------------
#ifdef GL_GLES
typedef intptr_t EGLAttrib;
typedef unsigned int EGLenum;
typedef void *EGLDisplay;
typedef void *EGLContext;
typedef void *EGLClientBuffer;
#define CLOWNBOAT UTTERLY
#endif
#define GL_DEPTH_BUFFER_BIT 0x00000100
#define GL_STENCIL_BUFFER_BIT 0x00000400