aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/mgl.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-10 12:56:55 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-10 13:18:12 +0200
commit3b2fceed064c06d55e1cd33d51e855e909c81f75 (patch)
tree962611955ddac906d906af1b44076d7cfae2bb64 /include/mgl/mgl.h
parente57daa001cc74682cdb905d8e0c6c8c3a2c29372 (diff)
add event and test graphics
Diffstat (limited to 'include/mgl/mgl.h')
-rw-r--r--include/mgl/mgl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mgl/mgl.h b/include/mgl/mgl.h
index d896497..606c14b 100644
--- a/include/mgl/mgl.h
+++ b/include/mgl/mgl.h
@@ -2,13 +2,17 @@
#define MGL_MGL_H
#include "glx.h"
+#include "gl.h"
/* Display* on x11 */
typedef void* mgl_connection;
typedef struct {
mgl_connection connection;
+ GLXContext glx_context;
+ _XVisualInfo *visual_info;
mgl_glx glx;
+ mgl_gl gl;
} mgl_context;
/*