aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library_gl.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index 747e1342..b3d55f88 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -698,8 +698,7 @@ var LibraryGLUT = {
FUNCTION_TABLE[GLUT.reshapeFunc](Module['canvas'].width,
Module['canvas'].height);
}
- // TODO The following line doesn't work, don't know why.
- //FUNCTION_TABLE[GLUT.glutPostRedisplay]();
+ _glutPostRedisplay();
throw "Entering GLUT mainloop";
},