Enable face culling.

This commit is contained in:
Nicolás Ortega Froysa
2018-10-25 18:26:03 +02:00
parent eb41b8178c
commit 442e5a12b2

View File

@ -74,7 +74,7 @@ int main() {
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LESS);
//glEnable(GL_CULL_FACE);
glEnable(GL_CULL_FACE);
// load the shaders into a GLSL program that can be run
program_id = load_shaders("../shaders/vert_shader.glsl",