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