aboutsummaryrefslogtreecommitdiff
path: root/src/gl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-06 15:55:42 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-06 15:55:42 +0100
commitcb679636f77fe2a03e8dab3a511e28e1ab898316 (patch)
treeb03cada4a37a50eb50cef1e21c75c56d938868a8 /src/gl.c
parente2e7c0bf0747d55967c4be6374f3611cd96babb6 (diff)
Fix exit being called when closing window, respond to wm ping, add is_open function to window
Diffstat (limited to 'src/gl.c')
-rw-r--r--src/gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gl.c b/src/gl.c
index 966023a..44572af 100644
--- a/src/gl.c
+++ b/src/gl.c
@@ -1,6 +1,5 @@
#include "../include/mgl/gl.h"
#include <dlfcn.h>
-/*#include <GL/gl.h>*/
#include <stdio.h>
typedef struct {
@@ -100,6 +99,7 @@ int mgl_gl_load(mgl_gl *self) {
{ &self->glXSwapIntervalEXT, "glXSwapIntervalEXT" },
{ &self->glXSwapIntervalMESA, "glXGetSwapIntervalMESA" },
{ &self->glXSwapIntervalSGI, "glXSwapIntervalSGI" },
+
{ NULL, NULL }
};