Clarified default OpenGL version.

This commit is contained in:
Camilla Berglund 2010-11-17 14:18:00 +01:00
parent 0529539d44
commit a4a860057d

View File

@ -114,7 +114,10 @@ void clearInputState(_GLFWwindow* window)
void _glfwClearWindowHints(void)
{
memset(&_glfwLibrary.hints, 0, sizeof(_glfwLibrary.hints));
// The default OpenGL version is 1.0
_glfwLibrary.hints.glMajor = 1;
_glfwLibrary.hints.glMinor = 0;
}