From e1b0ea16142beb29d2fbfdf4f02524eb117aee6d Mon Sep 17 00:00:00 2001 From: onelin Date: Thu, 18 Dec 2025 21:52:13 +0100 Subject: Add instance to window_init And make a mess in the meantime:( --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.c') 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; -- cgit v1.3