diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index d4c6371..4a3cad3 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -628,8 +628,11 @@ its event loop.

The glutLeaveMainLoop function causes freeglut to stop the event loop. If the -GLUT_ACTION_ON_WINDOW_CLOSE option has been set to GLUT_ACTION_CONTINUE_EXECUTION, -control will return to the function which called glutMainLoop; otherwise the application will exit. +GLUT_ACTION_ON_WINDOW_CLOSE option has been set to +GLUT_ACTION_GLUTMAINLOOP_RETURNS or +GLUT_ACTION_CONTINUE_EXECUTION, control will return to the +function which called glutMainLoop; otherwise the application +will exit.