diff options
| author | onelin <oscar@nelin.dk> | 2025-12-18 20:52:13 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-12-18 21:14:22 +0000 |
| commit | e1b0ea16142beb29d2fbfdf4f02524eb117aee6d (patch) | |
| tree | 0a169977d5c13390ef48406b3c76083324cb7dce /src/window.c | |
| parent | 1901282ae8899cb290e7216829407b8938327279 (diff) | |
Add instance to window_init
And make a mess in the meantime:(
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 2 |
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; |
