commit | 2f095cc9e3ec8f1cf981f7484b1871731cba7b51 | [log] [tgz] |
---|---|---|
author | Camilla Berglund <elmindreda@elmindreda.org> | Fri Aug 10 15:29:45 2012 +0200 |
committer | Camilla Berglund <elmindreda@elmindreda.org> | Fri Aug 10 15:29:45 2012 +0200 |
tree | 39f5ad31f770de72b2fcbb586a3c553ad0700927 | |
parent | 2410e2aaf4318f418f322ba9c856b9423e84bb7b [diff] [blame] |
Removed implicit glfwMakeCurrentContext. Implicitly making the context current makes sense in a single-window API but less sense in a multi-window one.
diff --git a/tests/fsfocus.c b/tests/fsfocus.c index e718a31..1c46d7a 100644 --- a/tests/fsfocus.c +++ b/tests/fsfocus.c
@@ -91,7 +91,9 @@ exit(EXIT_FAILURE); } + glfwMakeContextCurrent(window); glfwSwapInterval(1); + glfwSetInputMode(window, GLFW_CURSOR_MODE, GLFW_CURSOR_NORMAL); glfwSetWindowFocusCallback(window_focus_callback);