aboutsummaryrefslogtreecommitdiff
path: root/src/mgl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-02 06:01:36 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-02 06:01:36 +0200
commitf2da59054cedd1c07779e72537da4d7b14616b48 (patch)
treeb6c8606c1e7494d2fc17439552db30f55b97fd26 /src/mgl.c
parent470dac0e891c1ec59dfe52e77861cf068837976d (diff)
Ensure correct blending function for transparent window
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)