Fixed return value of glfwGetCurrentContext.

This commit is contained in:
Camilla Berglund 2012-08-27 13:52:10 +02:00
parent 2a8b2ccef4
commit 9696321334

View File

@ -509,7 +509,7 @@ GLFWAPI GLFWwindow glfwGetCurrentContext(void)
if (!_glfwInitialized)
{
_glfwSetError(GLFW_NOT_INITIALIZED, NULL);
return GL_FALSE;
return NULL;
}
return _glfwLibrary.currentWindow;