mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Made callbacks library global.
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ static GLFWwindow open_window(const char* title, GLFWwindow share)
|
||||
if (!window)
|
||||
return NULL;
|
||||
|
||||
glfwSetKeyCallback(window, key_callback);
|
||||
glfwSetKeyCallback(key_callback);
|
||||
glfwSwapInterval(1);
|
||||
|
||||
return window;
|
||||
|
||||
Reference in New Issue
Block a user