summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index e9ec62c..79e9a42 100644
--- a/src/window.c
+++ b/src/window.c
@@ -48,7 +48,7 @@ Window* Window_new(const struct Platform* p, const char *restrict title, Window_
case WINDOW_RENDERER_OPENGL:
/* For now, pass instance as NULL, fix it once all the necessary bs is
* out of struct Instance */
- w = p->window_init(title, size, flags);
+ w = p->window_init(GLOBAL_PLATFORM, title, size, flags);
// Manually reset bindings et. al.
w->bindings = NULL;