test/snake/snake.c

changeset 86
943bf9d7c6d6
parent 84
e4116b4b5774
child 88
6234b7ea48f3
--- a/test/snake/snake.c	Sat Apr 19 13:00:32 2025 +0200
+++ b/test/snake/snake.c	Sat Apr 19 15:06:24 2025 +0200
@@ -82,6 +82,13 @@
                 "Fatal Error",asc_get_error(),NULL);
         return 1;
     }
+#ifdef TEST_BUILD
+    asc_set_font_path("../../fonts");
+    asc_set_shader_path("../../shader");
+    asc_set_texture_path("../../test/snake/textures");
+#else
+#warning "Live build not yet supported"
+#endif
 
     // create window
     AscWindowSettings settings;

mercurial