From e290430c264b6d5d73703c4e51e686393d103f53 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 5 Oct 2011 00:46:09 +0200 Subject: [PATCH] Fixed closing bug. --- tests/reopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/reopen.c b/tests/reopen.c index 5040697f..2922cb84 100644 --- a/tests/reopen.c +++ b/tests/reopen.c @@ -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; }