aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgl/window.h')
-rw-r--r--include/mgl/window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mgl/window.h b/include/mgl/window.h
index 1cee698..34920a8 100644
--- a/include/mgl/window.h
+++ b/include/mgl/window.h
@@ -11,6 +11,8 @@ typedef struct {
struct mgl_window {
unsigned long window;
mgl_window_callback callback;
+ int width;
+ int height;
};
int mgl_window_create(mgl_window *self, const char *title, int width, int height, mgl_window_callback *callback);