Enable face culling.

This commit is contained in:
Nicolás Ortega Froysa 2018-10-25 18:26:03 +02:00
parent eb41b8178c
commit 442e5a12b2
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

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