src/scene.c

changeset 65
9c44c55d327a
parent 64
f18dc427f86f
child 69
86d545f490e4
--- a/src/scene.c	Thu Apr 18 21:53:53 2024 +0200
+++ b/src/scene.c	Thu Apr 18 22:53:55 2024 +0200
@@ -151,7 +151,7 @@
     // Sprites
     // -------
     // TODO: implement view matrix for 2D worlds
-    shader = &asc_window_active->glctx.shader.sprite.base;
+    shader = &asc_active_window->glctx.shader.sprite.base;
     glUseProgram(shader->id);
     glUniformMatrix4fv(shader->projection, 1,
                        GL_FALSE, camera->projection);

mercurial