mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
Fixed missing NULL in return statement.
This commit is contained in:
@@ -979,7 +979,7 @@ GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow window)
|
||||
if (!_glfwInitialized)
|
||||
{
|
||||
_glfwSetError(GLFW_NOT_INITIALIZED);
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return window->userPointer;
|
||||
|
||||
Reference in New Issue
Block a user