1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

Removed superfluous MakeContextCurrent.

This commit is contained in:
Camilla Berglund 2012-08-12 14:14:03 +02:00
parent ab373308b0
commit 25c7ad1706

View File

@ -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;