src/2d.c

changeset 206
26726b7a89a7
parent 204
be5cf64b5c29
--- a/src/2d.c	Sun Jul 13 17:17:15 2025 +0200
+++ b/src/2d.c	Mon Jul 14 21:56:53 2025 +0200
@@ -199,7 +199,7 @@
     node->update_func = asc_rectangle_update;
     node->destroy_func = asc_rectangle_destroy;
     node->draw_func = asc_rectangle_draw;
-    asc_node_update(node);
+    asc_scene_node_update(node);
     return node;
 }
 
@@ -355,6 +355,6 @@
     node->update_func = asc_ellipsis_update;
     node->destroy_func = asc_ellipsis_destroy;
     node->draw_func = asc_ellipsis_draw;
-    asc_node_update(node);
+    asc_scene_node_update(node);
     return node;
 }

mercurial