From 01e0fac94fd35e63e5b2ee16b43aee842ef2fd05 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 29 May 2014 02:21:22 +0200 Subject: [PATCH] Return gl->quitting. Quit state might be set just once depending on the context driver. --- gfx/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/gl.c b/gfx/gl.c index 225e910fba..077463c135 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -2369,7 +2369,7 @@ static bool gl_alive(void *data) else if (resize) gl->should_resize = true; - return !quit; + return !gl->quitting; } static bool gl_focus(void *data)