mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 01:45:54 +02:00
Made callbacks library global.
This commit is contained in:
@@ -585,7 +585,7 @@ int main( void )
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
glfwSetWindowSizeCallback( window, reshape );
|
||||
glfwSetWindowSizeCallback( reshape );
|
||||
glfwEnable( window, GLFW_STICKY_KEYS );
|
||||
glfwSwapInterval( 1 );
|
||||
glfwSetTime( 0.0 );
|
||||
|
||||
Reference in New Issue
Block a user