aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render.c b/src/render.c
index d4754d7..16cecf5 100644
--- a/src/render.c
+++ b/src/render.c
@@ -645,6 +645,8 @@ void render_draw(Game *game, Uint32 t) {
glViewport(0, 0, 64, 64);
if ( r->shaders ) glUseProgram(r->swirly_program);
if ( r->shaders ) glUniform1f(glGetUniformLocation(game->render->swirly_program, "time"), t);
+ if ( r->shaders ) glUniform1f(glGetUniformLocation(game->render->swirly_program, "landed"), game->lander->landed);
+ if ( r->shaders ) glUniform2f(glGetUniformLocation(game->render->swirly_program, "lander"), 0.5, 0.0);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glMatrixMode(GL_MODELVIEW);