Reducing the number of sample from 8 to 4.
This commit is contained in:
parent
395803109d
commit
6e33af8e61
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, 4);
|
||||||
|
|
||||||
// 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