src/shader.c

changeset 271
ddcf637587ce
parent 270
3031d1bb5957
--- a/src/shader.c	Tue Aug 19 18:51:46 2025 +0200
+++ b/src/shader.c	Wed Aug 20 23:45:23 2025 +0200
@@ -263,6 +263,7 @@
     cxListClear(asc_active_glctx->shaders);
     // also clear the active program to avoid accidental matches with newly created shaders
     asc_shader_use(NULL, NULL);
+    asc_dprintf("Shader cache cleared.");
 }
 
 asc_uniform_loc asc_shader_get_uniform_loc(const AscShaderProgram *shader, const char *name) {

mercurial