diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index fddcf1a..f8c4585 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -898,16 +898,12 @@ later time point.
Freeglut sets the current window to the window which is about to be closed when the callback is invoked. The window can thus be retrieved in the callback using glutGetWindow.
-Please note that other further developments of GLUT provide a -glutWMCloseFunc. For compatibility, FreeGLUT also -provides this function. It is however an alias to -glutCloseFunc. Users looking to prevent FreeGLUT from -exiting when a window is closed, as was made possible with -glutWMCloseFunc by that callback's designer should look into -using glutSetOption to set GLUT_ACTION_ON_WINDOW_CLOSE to -GLUT_ACTION_GLUTMAINLOOP_RETURNS or -GLUT_ACTION_CONTINUE_EXECUTION. This will prevent the -application from exiting when a window is closed. +Users looking to prevent FreeGLUT from exiting when a window is +closed, should look into using glutSetOption to set +GLUT_ACTION_ON_WINDOW_CLOSE. Some settings will prevent the +application from exiting when a window is closed.
+Please note that glutWMCloseFunc, a deprecated function, is an +alias to glutCloseFunc.

Changes From GLUT