src/sprite.c

changeset 239
3b78ad115ccd
parent 226
18327d2df79d
child 241
b53bd6ab2a47
--- a/src/sprite.c	Fri Aug 01 18:19:33 2025 +0200
+++ b/src/sprite.c	Sat Aug 02 13:07:28 2025 +0200
@@ -87,7 +87,7 @@
 
     // Activate shader
     // TODO: scene should know which shader we are going to activate s.t. it can pre-sort nodes
-    const AscShaderProgram *shader = asc_shader_lookup_or_create(
+    const AscShaderProgram *shader = asc_shader_lookup(
         ASC_SHADER_SPRITE(flags),
         asc_sprite_shader_create, flags
     );

mercurial