summaryrefslogtreecommitdiff
path: root/src/gl/gl.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-09-27 21:24:46 -0500
committersanine <sanine.not@pm.me>2022-09-27 21:24:46 -0500
commit40e4c6890f3f94e360b5e0249ad0045f2133b390 (patch)
tree7a213b03d9f704b8df47e9cdc19679272646aa98 /src/gl/gl.c
parent9b42315ef051745b94eeb31d4680f821779b50a2 (diff)
add basic mesh loading demo
Diffstat (limited to 'src/gl/gl.c')
-rw-r--r--src/gl/gl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gl/gl.c b/src/gl/gl.c
index 106befe..be1d7a4 100644
--- a/src/gl/gl.c
+++ b/src/gl/gl.c
@@ -48,6 +48,7 @@ void setup_gl(lua_State *L, int honey_index)
/* opengl capabilities */
hs_str_int("DEPTH_TEST", GL_DEPTH_TEST),
+ hs_str_int("CULL_FACE", GL_CULL_FACE),
);
setup_shader(L, gl_index);