Fixed closing bug.

This commit is contained in:
Camilla Berglund 2011-10-05 00:46:09 +02:00
parent c18eda3a1a
commit e290430c26

View File

@ -62,7 +62,7 @@ static void window_size_callback(GLFWwindow window, int width, int height)
static int window_close_callback(GLFWwindow window)
{
printf("Close callback triggered\n");
window_handle = NULL;
closed = GL_TRUE;
return 0;
}