From f2da59054cedd1c07779e72537da4d7b14616b48 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 2 Aug 2024 06:01:36 +0200 Subject: Ensure correct blending function for transparent window --- src/mgl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mgl.c') 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) -- cgit v1.2.3