summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-12-19 14:28:49 -0600
committerDerek Foreman <derekf@osg.samsung.com>2016-12-19 15:52:57 -0600
commit98ef74eeba5dbc8ff62dccca9a317ef7dd64e2bf (patch)
tree2ec6d30ebcaa8ca7f23cf8ff8e04c94bbc843485 /src/lib/ector
parent93899429ef02a04326821948ce6aa94615986d9c (diff)
ector_gl: Add some EGL typedefs to internal header
This lets us include EGL/egl.h in gl_common.
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/ector_gl_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ector/ector_gl_internal.h b/src/lib/ector/ector_gl_internal.h
index 2f1713af3c..6653ec2eaf 100644
--- a/src/lib/ector/ector_gl_internal.h
+++ b/src/lib/ector/ector_gl_internal.h
@@ -8,6 +8,14 @@ extern Ector_GL_API GL;
8// ignore everything below this point 8// ignore everything below this point
9// -------------------------------------------------- 9// --------------------------------------------------
10 10
11#ifdef GL_GLES
12typedef intptr_t EGLAttrib;
13typedef unsigned int EGLenum;
14typedef void *EGLDisplay;
15typedef void *EGLContext;
16typedef void *EGLClientBuffer;
17#define CLOWNBOAT UTTERLY
18#endif
11 19
12#define GL_DEPTH_BUFFER_BIT 0x00000100 20#define GL_DEPTH_BUFFER_BIT 0x00000100
13#define GL_STENCIL_BUFFER_BIT 0x00000400 21#define GL_STENCIL_BUFFER_BIT 0x00000400