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