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 bb4dfefa..49380367 100644
--- a/src/library_glut.js
+++ b/src/library_glut.js
@@ -433,7 +433,7 @@ var LibraryGLUT = {
glutMainLoop: function() {
_glutReshapeWindow(Module['canvas'].width, Module['canvas'].height);
_glutPostRedisplay();
- throw 'GLUT mainloop called, simulating infinite loop by throwing so we get right into the JS event loop';
+ throw 'SimulateInfiniteLoop';
},
};