Fixed missing NULL in return statement.

This commit is contained in:
Camilla Berglund 2010-09-14 00:15:01 +02:00
parent f3fbbb4311
commit 2fc42e9017

View File

@ -979,7 +979,7 @@ GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow window)
if (!_glfwInitialized)
{
_glfwSetError(GLFW_NOT_INITIALIZED);
return;
return NULL;
}
return window->userPointer;