src/text.c

changeset 239
3b78ad115ccd
parent 226
18327d2df79d
--- a/src/text.c	Fri Aug 01 18:19:33 2025 +0200
+++ b/src/text.c	Sat Aug 02 13:07:28 2025 +0200
@@ -111,7 +111,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_TEXT(0),
         asc_text_shader_create, 0
     );

mercurial