src/glcontext.c

changeset 144
43636d6a6e25
parent 142
27c9bbd765d0
--- a/src/glcontext.c	Tue Jun 10 19:29:07 2025 +0200
+++ b/src/glcontext.c	Wed Jun 11 23:38:55 2025 +0200
@@ -101,6 +101,7 @@
         // Create the shaders array
         ctx->shaders = cxArrayListCreateSimple(CX_STORE_POINTERS, 32);
         cxDefineDestructor(ctx->shaders, asc_shader_free);
+        ctx->active_program = 0;
 
         return true;
     } else {

mercurial