Changed default of GLFW_REFRESH_RATE.

Fixes #354.
This commit is contained in:
Camilla Berglund
2014-10-06 23:52:10 +02:00
parent 6be821c18b
commit e0c26f0ec5
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -290,6 +290,9 @@ void glfwDefaultWindowHints(void)
_glfw.hints.focused = GL_TRUE;
_glfw.hints.autoIconify = GL_TRUE;
// The default is to select the highest available refresh rate
_glfw.hints.refreshRate = GLFW_DONT_CARE;
// The default is 24 bits of color, 24 bits of depth and 8 bits of stencil,
// double buffered
_glfw.hints.redBits = 8;