aboutsummaryrefslogtreecommitdiff
path: root/src/library_glut.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library_glut.js')
-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 234666ca..11e448b2 100644
--- a/src/library_glut.js
+++ b/src/library_glut.js
@@ -447,7 +447,7 @@ var LibraryGLUT = {
_glutReshapeWindow(Module['canvas'].width, Module['canvas'].height);
_glutPostRedisplay();
- throw 'GLUT mainloop should never return';
+ throw 'GLUT mainloop called, simulating infinite loop by throwing so we get right into the JS event loop';
},
};