diff options
Diffstat (limited to 'src/window')
-rw-r--r-- | src/window/window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window/window.c b/src/window/window.c index 05d643d..17066a0 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -255,6 +255,7 @@ void x11_context_deinit(x11_context *self) { } if(self->glx_context) { + context->gl.glXMakeContextCurrent(context->connection, None, None, NULL); context->gl.glXDestroyContext(context->connection, self->glx_context); self->glx_context = NULL; } |