fix clock sample oc_runtime_window_set_size() -> oc_window_set_size()

This commit is contained in:
Martin Fouilleul 2023-09-08 15:04:40 +02:00
parent 3bcbc76662
commit 8fbfeab261
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ f32 minf(f32 a, f32 b);
ORCA_EXPORT void oc_on_init(void)
{
oc_window_set_title(OC_STR8("clock"));
oc_runtime_window_set_size((oc_vec2){ .x = 400, .y = 400 });
oc_window_set_size((oc_vec2){ .x = 400, .y = 400 });
surface = oc_surface_canvas();
canvas = oc_canvas_create();