Added clean up class to help improve the exit of GraphicsThread

This commit is contained in:
Robert Osfield
2005-09-02 13:10:46 +00:00
parent 21cabaf5f6
commit 4167a3f980
3 changed files with 59 additions and 18 deletions

View File

@@ -309,7 +309,7 @@ int main( int argc, char **argv )
osg::Timer_t previous_tick = start_tick;
bool done = false;
unsigned int maxNumFrames = 500;
unsigned int maxNumFrames = 50;
// main loop - update scene graph, dispatch frame, wait for frame done.
while( !done && frameNum<maxNumFrames)