summaryrefslogtreecommitdiff
path: root/src/window/window.c
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-31 18:48:20 -0500
committersanine-a <sanine.not@pm.me>2020-10-31 18:48:20 -0500
commitad75604ec79d70d328595f114e65bac80db9999f (patch)
treec0eefa1a3795db995283418b54b558a8a33ceaec /src/window/window.c
parent3dca6a336c9fd54b0847249b5771d39141daa3ae (diff)
add additional texture types and refactor texture setup and loading
Diffstat (limited to 'src/window/window.c')
-rw-r--r--src/window/window.c3
1 files changed, 3 insertions, 0 deletions
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);