aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library_glut.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_glut.js b/src/library_glut.js
index 51d87a34..9c748177 100644
--- a/src/library_glut.js
+++ b/src/library_glut.js
@@ -421,7 +421,7 @@ var LibraryGLUT = {
}
},
- glutMainLoop__deps: ['$GLUT', 'glutPostRedisplay'],
+ glutMainLoop__deps: ['$GLUT', 'glutReshapeWindow', 'glutPostRedisplay'],
glutMainLoop: function() {
window.addEventListener("keydown", GLUT.onKeydown, true);