aboutsummaryrefslogtreecommitdiffstats
path: root/gl.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-05-02 13:30:04 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-05-02 13:31:35 +0100
commit024a3b2dc8c600013b9b76c7f919594d533ba774 (patch)
treeff59bcbf12a1d6597c05d105e6a7135d6380df8e /gl.h
parent1c1da6cb1854c9c1cb74206d179d9503496bbe02 (diff)
downloadfaqe-024a3b2dc8c600013b9b76c7f919594d533ba774.tar.gz
faqe-024a3b2dc8c600013b9b76c7f919594d533ba774.tar.xz
faqe-024a3b2dc8c600013b9b76c7f919594d533ba774.zip
Enable SRGB framebuffer and backface culling.
Diffstat (limited to 'gl.h')
-rw-r--r--gl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gl.h b/gl.h
index 773812a..40b650d 100644
--- a/gl.h
+++ b/gl.h
@@ -50,6 +50,7 @@ enum {
GL_OUT_OF_MEMORY,
GL_INVALID_FRAMEBUFFER_OPERATION,
GL_CONTEXT_LOST,
+ GL_CULL_FACE = 0x0b44,
GL_DEPTH_TEST = 0x0b71,
GL_UNSIGNED_INT = 0x1405,
GL_FLOAT = 0x1406,
@@ -63,6 +64,7 @@ enum {
GL_VERTEX_SHADER = 0x8b31,
GL_COMPILE_STATUS = 0x8b81,
GL_LINK_STATUS = 0x8b82,
+ GL_FRAMEBUFFER_SRGB = 0x8db9,
};
typedef void *gl_loadfunc(const char *name);