src/text.c

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

mercurial