mirror of
https://github.com/glfw/glfw.git
synced 2024-11-13 14:03:52 +00:00
Removed superfluous MakeContextCurrent.
This commit is contained in:
parent
ab373308b0
commit
25c7ad1706
@ -927,8 +927,6 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
|
|||||||
withOptions:nil];
|
withOptions:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
glfwMakeContextCurrent(window);
|
|
||||||
|
|
||||||
NSPoint point = [[NSCursor currentCursor] hotSpot];
|
NSPoint point = [[NSCursor currentCursor] hotSpot];
|
||||||
window->cursorPosX = point.x;
|
window->cursorPosX = point.x;
|
||||||
window->cursorPosY = point.y;
|
window->cursorPosY = point.y;
|
||||||
|
Loading…
Reference in New Issue
Block a user