Changeset 5340 for OpenSceneGraph/trunk/examples/osgcatch/osgcatch.cpp
- Timestamp:
- 07/19/06 15:02:35 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcatch/osgcatch.cpp
r5328 r5340 1360 1360 // now safe to construct 1361 1361 sh.init(); 1362 1363 if (_gameEventHandler) 1362 1364 1363 { 1365 _gameEventHandler->compileGLObjects(*(sh.getSceneView()->getState())); 1364 OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); 1365 1366 if (_gameEventHandler) 1367 { 1368 _gameEventHandler->compileGLObjects(*(sh.getSceneView()->getState())); 1369 } 1366 1370 } 1367 1371 } 1368 1372 1369 1373 1374 OpenThreads::Mutex _mutex; 1370 1375 GameEventHandler* _gameEventHandler; 1371 1376
