aboutsummaryrefslogtreecommitdiff
path: root/src/mgl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-17 00:33:37 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-17 00:33:37 +0200
commit8974be43a3c7f672a34291049bb543d01960de28 (patch)
treeb9673193e71b3fec54ecbbae561b7445603567e5 /src/mgl.c
parent4a967356128c49ad615d786c65a8c0cc672aca7b (diff)
Parent window = 0 = root window
Diffstat (limited to 'src/mgl.c')
-rw-r--r--src/mgl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mgl.c b/src/mgl.c
index cbdfb41..549121f 100644
--- a/src/mgl.c
+++ b/src/mgl.c
@@ -89,7 +89,6 @@ void mgl_deinit(void) {
if(init_count == 1) {
glx_context_deinit();
mgl_gl_unload(&context.gl);
- mgl_gl_unload(&context.gl);
XSetErrorHandler(prev_xerror);
if(context.connection) {
XCloseDisplay(context.connection);