From f16d04cfd153e485e6f46cf1a79254381c2bb63c Mon Sep 17 00:00:00 2001 From: dcnieho Date: Mon, 13 Oct 2014 14:17:01 +0000 Subject: [PATCH] forgot to document GLUT_ACTION_GLUTMAINLOOP_RETURNS when discussing glutLeaveMainLoop in api docs git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1715 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/web-src/docs/api.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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.