--- 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);