Declared all window close callbacks as static.

This commit is contained in:
Camilla Berglund
2012-08-03 16:28:17 +02:00
parent 2972cdfeb1
commit 6b46225e33
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ void reshape( GLFWwindow window, int width, int height )
/* close callback */
int window_close_callback(GLFWwindow window)
static int window_close_callback(GLFWwindow window)
{
running = 0;
return GL_TRUE;