From ad75604ec79d70d328595f114e65bac80db9999f Mon Sep 17 00:00:00 2001 From: sanine-a Date: Sat, 31 Oct 2020 18:48:20 -0500 Subject: add additional texture types and refactor texture setup and loading --- src/window/window.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/window/window.c') diff --git a/src/window/window.c b/src/window/window.c index 37053a4..6a1fe6f 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -97,6 +97,9 @@ bool honey_setup_window(lua_State* L) // Enable depth testing glEnable(GL_DEPTH_TEST); + // Enable face culling + glEnable(GL_CULL_FACE); + glfwSetWindowSizeCallback(info->window, honey_glfw_window_resize_callback); glfwSetWindowFocusCallback(info->window, honey_glfw_window_focus_callback); -- cgit v1.2.1