src/text.c

changeset 226
18327d2df79d
parent 223
4f32c7755138
--- a/src/text.c	Fri Jul 25 18:58:50 2025 +0200
+++ b/src/text.c	Fri Jul 25 19:19:54 2025 +0200
@@ -112,7 +112,9 @@
     // 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(
-            ASC_SHADER_TEXT, asc_text_shader_create, 0);
+        ASC_SHADER_TEXT(0),
+        asc_text_shader_create, 0
+    );
     if (asc_shader_use(shader, camera)) return;
     asc_cptr_cast(AscTextShader, text_shader, shader);
 

mercurial