src/text.c

changeset 221
14eddd43b3f7
parent 219
62508d957a22
--- a/src/text.c	Tue Jul 22 21:38:02 2025 +0200
+++ b/src/text.c	Wed Jul 23 00:27:46 2025 +0200
@@ -58,7 +58,9 @@
     text_shader->tex = asc_shader_get_uniform_loc(shader, "tex");
     asc_shader_free_codes(codes);
 
-    asc_error_catch_all_gl();
+    if (asc_error_catch_gl("Creating text shader")) {
+        // TODO: error handling
+    }
 
     return shader;
 }

mercurial