Enabled multisampling for the window.
This commit is contained in:
parent
b9bdb594f0
commit
8c34df49b7
2
main.cc
2
main.cc
@ -81,7 +81,7 @@ bool createWindow()
|
||||
setGLFWHintsForOpenGLVersion( ACGL_OPENGL_VERSION );
|
||||
|
||||
// activate multisampling (second parameter is the number of samples):
|
||||
//glfwWindowHint( GLFW_SAMPLES, 8 );
|
||||
glfwWindowHint( GLFW_SAMPLES, 8);
|
||||
|
||||
// request an OpenGL debug context:
|
||||
glfwWindowHint( GLFW_OPENGL_DEBUG_CONTEXT, true );
|
||||
|
Loading…
Reference in New Issue
Block a user