test/snake/snake.c

changeset 257
67d7b79997df
parent 256
60014484121c
--- a/test/snake/snake.c	Wed Aug 06 00:37:01 2025 +0200
+++ b/test/snake/snake.c	Thu Aug 07 22:40:41 2025 +0200
@@ -427,9 +427,7 @@
     globals_init();
 
     // create the window
-    AscWindowSettings settings;
-    asc_window_settings_init_defaults(&settings);
-    asc_window_initialize(0, &settings);
+    asc_window_initialize(0, asc_gl_context_settings_default(4, 0));
     asc_window_set_title(0, "Snake");
     asc_window_set_size(0, asc_vec2_ftou(
         asc_vec2f_scale(ASC_VEC2F(1024+HUD_WIDTH, 1024), asc_ui_scale_auto())));

mercurial