summaryrefslogtreecommitdiff
path: root/src/egl/opengles1/tri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/opengles1/tri.c')
-rw-r--r--src/egl/opengles1/tri.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/opengles1/tri.c b/src/egl/opengles1/tri.c
index a5e7b9ce..531e3e69 100644
--- a/src/egl/opengles1/tri.c
+++ b/src/egl/opengles1/tri.c
@@ -131,6 +131,8 @@ reshape(int width, int height)
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glTranslatef(0.0, 0.0, -10.0);
+
+ eglutPostRedisplay();
}
@@ -187,6 +189,7 @@ special_key(int special)
default:
break;
}
+ eglutPostRedisplay();
}
int