diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-03-28 12:57:55 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-03-28 12:57:55 -0400 |
commit | 4ef0218e0f3491a0ad46fb8b5491a23acc273a6f (patch) | |
tree | d795792b6653421171b23426592b85a9bbad5860 /src/library_gl.js | |
parent | 3260df439675f3442d4dcafe512a9a9dc70df4f0 (diff) |
Fix glutPostRedisplay call from glutMainLoop
Diffstat (limited to 'src/library_gl.js')
-rw-r--r-- | src/library_gl.js | 3 |
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"; }, |