mirror of
https://github.com/gwm17/glfw.git
synced 2025-01-30 19:08:51 -05:00
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