mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 12:02:00 +00: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)
|
if (!_glfwInitialized)
|
||||||
{
|
{
|
||||||
_glfwSetError(GLFW_NOT_INITIALIZED);
|
_glfwSetError(GLFW_NOT_INITIALIZED);
|
||||||
return;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return window->userPointer;
|
return window->userPointer;
|
||||||
|
Loading…
Reference in New Issue
Block a user