diff --git a/src/main.cc b/src/main.cc index 45cb298..cadf204 100644 --- a/src/main.cc +++ b/src/main.cc @@ -167,6 +167,7 @@ int main() { glViewport(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT); glEnable(GL_DEPTH_TEST); + glEnable(GL_CULL_FACE); std::vector vertices = { // positions // normals // texture coords