Merge remote-tracking branch 'svn/trunk' into git_master
This commit is contained in:
commit
40a20ed2b1
@ -482,11 +482,13 @@ void FGAPIENTRY glutMainLoop( void )
|
|||||||
fgPlatformMainLoopPreliminaryWork ();
|
fgPlatformMainLoopPreliminaryWork ();
|
||||||
|
|
||||||
fgState.ExecState = GLUT_EXEC_STATE_RUNNING ;
|
fgState.ExecState = GLUT_EXEC_STATE_RUNNING ;
|
||||||
while( fgState.ExecState == GLUT_EXEC_STATE_RUNNING )
|
for(;;)
|
||||||
{
|
{
|
||||||
SFG_Window *window;
|
SFG_Window *window;
|
||||||
|
|
||||||
glutMainLoopEvent( );
|
glutMainLoopEvent( );
|
||||||
|
if( fgState.ExecState != GLUT_EXEC_STATE_RUNNING )
|
||||||
|
break;
|
||||||
/*
|
/*
|
||||||
* Step through the list of windows, seeing if there are any
|
* Step through the list of windows, seeing if there are any
|
||||||
* that are not menus
|
* that are not menus
|
||||||
|
Reference in New Issue
Block a user