From 40e4c6890f3f94e360b5e0249ad0045f2133b390 Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 27 Sep 2022 21:24:46 -0500 Subject: add basic mesh loading demo --- src/gl/gl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gl') 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); -- cgit v1.2.1