Another typecast bugfix from John Fay
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@173 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
af8a4e52ea
commit
c27c9a8631
@ -301,9 +301,9 @@ static void fghCheckTimers( void )
|
|||||||
/*
|
/*
|
||||||
* For every timer that is waiting for triggering
|
* For every timer that is waiting for triggering
|
||||||
*/
|
*/
|
||||||
for( timer = (SFG_Timer *)fgState.Timers.First; timer; timer = next )
|
for( timer = (SFG_Timer *)fgState.Timers.First; timer; timer = (SFG_Timer *)next )
|
||||||
{
|
{
|
||||||
next = (SFG_Timer *)timer->Node.Next;
|
next = (SFG_Timer *)timer->Node.Next;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check for the timeout:
|
* Check for the timeout:
|
||||||
@ -1004,9 +1004,8 @@ void FGAPIENTRY glutMainLoopEvent( void )
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* No messages in the queue, which means we are idling...
|
* No messages in the queue, which means we are idling...
|
||||||
* Don't call this if there is a menu active
|
|
||||||
*/
|
*/
|
||||||
if( ( fgState.IdleCallback != NULL ) && ( fgState.ActiveMenus == 0 ) )
|
if ( fgState.IdleCallback != NULL )
|
||||||
fgState.IdleCallback();
|
fgState.IdleCallback();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1051,9 +1050,8 @@ void FGAPIENTRY glutMainLoopEvent( void )
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* No messages in the queue, which means we are idling...
|
* No messages in the queue, which means we are idling...
|
||||||
* Don't call this if there is a menu active
|
|
||||||
*/
|
*/
|
||||||
if( ( fgState.IdleCallback != NULL ) && ( fgState.ActiveMenus == 0 ) )
|
if ( fgState.IdleCallback != NULL )
|
||||||
fgState.IdleCallback();
|
fgState.IdleCallback();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user