浏览代码

Merge pull request #219 from serialvelocity94/master

Removed stray argument.
Camilla Berglund 11 年之前
父节点
当前提交
af78508488
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/cocoa_window.m

+ 1 - 1
src/cocoa_window.m

@@ -186,7 +186,7 @@ static NSRect convertRectToBacking(_GLFWwindow* window, NSRect contentRect)
 - (void)windowDidBecomeKey:(NSNotification *)notification
 {
     _glfwInputWindowFocus(window, GL_TRUE);
-    _glfwPlatformApplyCursorMode(window, window->cursorMode);
+    _glfwPlatformApplyCursorMode(window);
 }
 
 - (void)windowDidResignKey:(NSNotification *)notification