mirror of
https://github.com/glfw/glfw.git
synced 2024-11-21 12:34:36 +00:00
Cocoa: Fix glfwGetCocoaWindow error return value
This commit is contained in:
parent
8f2f766f0d
commit
e28397bda0
@ -2047,7 +2047,7 @@ GLFWAPI id glfwGetCocoaWindow(GLFWwindow* handle)
|
||||
{
|
||||
_glfwInputError(GLFW_PLATFORM_UNAVAILABLE,
|
||||
"Cocoa: Platform not initialized");
|
||||
return NULL;
|
||||
return nil;
|
||||
}
|
||||
|
||||
return window->ns.object;
|
||||
|
Loading…
Reference in New Issue
Block a user