diff -r 0009b982bc7d -r e5544920377e test/snake/snake.c --- a/test/snake/snake.c Wed Jul 02 23:21:17 2025 +0200 +++ b/test/snake/snake.c Wed Jul 02 23:55:50 2025 +0200 @@ -144,7 +144,7 @@ } // Set the viewport to the scaled and centered region - return asc_recti_new(offset_x, offset_y, viewport_size, viewport_size); + return ASC_RECTI(offset_x, offset_y, viewport_size, viewport_size); } int main(void) { @@ -179,7 +179,7 @@ asc_ink_rgb(0, 128, 90); asc_scene_init(MAIN_SCENE, .type = ASC_CAMERA_ORTHO, - .ortho.rect = asc_recti_new(0, 0, game_field_size, game_field_size), + .ortho.rect = ASC_RECTI(0, 0, game_field_size, game_field_size), .viewport_clear = true, .viewport_update_func = update_viewport_for_window_resize );