mirror of
https://github.com/glfw/glfw.git
synced 2025-04-13 16:50:39 +00:00
Fixed missing NULL in return statement.
This commit is contained in:
parent
f3fbbb4311
commit
2fc42e9017
1 changed files with 1 additions and 1 deletions
|
@ -979,7 +979,7 @@ GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow window)
|
|||
if (!_glfwInitialized)
|
||||
{
|
||||
_glfwSetError(GLFW_NOT_INITIALIZED);
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return window->userPointer;
|
||||
|
|
Loading…
Add table
Reference in a new issue