git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1556
7f0cb862-5218-0410-a997-
914c9d46530a
- * Indicates whether Joystick events are being used by ANY window.
+ * Indicates whether a redisplay is pending for ANY window.
*
* The current mechanism is to walk all of the windows and ask if
*
* The current mechanism is to walk all of the windows and ask if
- * there is a joystick callback. We have a short-circuit early
- * return if we find any joystick handler registered.
- *
- *
+ * a redisplay is pending. We have a short-circuit early
+ * return if we find any.
*/
static void fghHavePendingRedisplaysCallback( SFG_Window* w, SFG_Enumerator* e)
{
*/
static void fghHavePendingRedisplaysCallback( SFG_Window* w, SFG_Enumerator* e)
{
{
e->found = GL_TRUE;
e->data = w;
{
e->found = GL_TRUE;
e->data = w;
}
fgEnumSubWindows( w, fghHavePendingRedisplaysCallback, e );
}
}
fgEnumSubWindows( w, fghHavePendingRedisplaysCallback, e );
}