src/text.c

changeset 64
f18dc427f86f
parent 59
764fbb013252
child 65
9c44c55d327a
--- a/src/text.c	Tue Apr 16 22:20:17 2024 +0200
+++ b/src/text.c	Thu Apr 18 21:53:53 2024 +0200
@@ -36,7 +36,7 @@
 
 static void asc_text_draw(AscText const *node) {
     // Obtain shader
-    AscShaderSprite *shader = &asc_context.active_window->glctx.shader.sprite;
+    AscShaderSprite *shader = &asc_window_active->glctx.shader.sprite;
 
     // Upload model matrix
     glUniformMatrix4fv(shader->base.model, 1,

mercurial