aboutsummaryrefslogtreecommitdiff
path: root/src/mgl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mgl.c')
-rw-r--r--src/mgl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mgl.c b/src/mgl.c
index 16379e0..6fd26a7 100644
--- a/src/mgl.c
+++ b/src/mgl.c
@@ -119,6 +119,8 @@ void mgl_deinit(void) {
*/
mgl_gl_unload(&context.gl);
}
+
+ context.current_window = NULL;
}
if(init_count > 0)