Fixed missing NULL in return statement.
This commit is contained in:
parent
f3fbbb4311
commit
2fc42e9017
@ -979,7 +979,7 @@ GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow window)
|
||||
if (!_glfwInitialized)
|
||||
{
|
||||
_glfwSetError(GLFW_NOT_INITIALIZED);
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return window->userPointer;
|
||||
|
Loading…
Reference in New Issue
Block a user