aboutsummaryrefslogtreecommitdiffstats
path: root/gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl.h')
-rw-r--r--gl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gl.h b/gl.h
index 30e7862..112fc82 100644
--- a/gl.h
+++ b/gl.h
@@ -32,6 +32,11 @@ typedef double GLdouble;
typedef double GLclampd;
enum {
+ GL_DEPTH_BUFFER_BIT = 0x100,
+ GL_COLOR_BUFFER_BIT = 0x4000,
+};
+
+enum {
GL_NO_ERROR = 0,
GL_FALSE = 0,
GL_TRUE = 1,
@@ -45,10 +50,10 @@ enum {
GL_OUT_OF_MEMORY = 0x0505,
GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506,
GL_CONTEXT_LOST = 0x0507,
+ GL_DEPTH_TEST = 0x0b71,
GL_UNSIGNED_INT = 0x1405,
GL_FLOAT = 0x1406,
GL_LINE = 0x1B01,
- GL_COLOR_BUFFER_BIT = 0x4000,
GL_ARRAY_BUFFER = 0x8892,
GL_ELEMENT_ARRAY_BUFFER = 0x8893,
GL_STREAM_DRAW = 0x88e0,