Improved assignments for 2020
This commit is contained in:
committed by
Michael H. Gimle
parent
bb8c4d8625
commit
fca107c75b
@@ -24,6 +24,9 @@ void runProgram(GLFWwindow* window, CommandLineOptions options)
|
||||
// Configure miscellaneous OpenGL settings
|
||||
glEnable(GL_CULL_FACE);
|
||||
|
||||
// Disable built-in dithering
|
||||
glDisable(GL_DITHER);
|
||||
|
||||
// Set default colour after clearing the colour buffer
|
||||
glClearColor(0.3f, 0.5f, 0.8f, 1.0f);
|
||||
|
||||
@@ -43,7 +46,6 @@ void runProgram(GLFWwindow* window, CommandLineOptions options)
|
||||
|
||||
|
||||
|
||||
|
||||
// Handle other events
|
||||
glfwPollEvents();
|
||||
handleKeyboardInput(window);
|
||||
|
||||
Reference in New Issue
Block a user