Enable face culling.
This commit is contained in:
parent
eb41b8178c
commit
442e5a12b2
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user