diff -r 0009b982bc7d -r e5544920377e src/window.c --- a/src/window.c Wed Jul 02 23:21:17 2025 +0200 +++ b/src/window.c Wed Jul 02 23:55:50 2025 +0200 @@ -73,7 +73,7 @@ { Sint32 w, h; SDL_GetWindowSize(window->window, &w, &h); - window->dimensions = asc_vec2u_new(w, h); + window->dimensions = ASC_VEC2U(w, h); } window->resized = true; // count initial sizing as resize @@ -83,7 +83,7 @@ if (asc_gl_context_initialize(&window->glctx, window->window, &settings->glsettings)) { asc_scene_init(&window->ui, .type = ASC_CAMERA_ORTHO, - .ortho.rect = asc_recti_new(0, 0, window->dimensions.width, window->dimensions.height), + .ortho.rect = ASC_RECTI(0, 0, window->dimensions.width, window->dimensions.height), .projection_update_func = asc_camera_ortho_update_size ); asc_dprintf("Window %u initialized at index %u", window->id, index); @@ -206,5 +206,5 @@ asc_error("Failed to get display mode for window %u on display %d: %s", window->id, display, SDL_GetError()); } - return asc_vec2u_new(dm.w, dm.h); + return ASC_VEC2U(dm.w, dm.h); }