Show
Ignore:
Timestamp:
03/24/08 19:03:19 (6 years ago)
Author:
robert
Message:

Added mutex to prevent multiple cull threads changing the MultiTextureControl? at one time.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp

    r7987 r7988  
    104104                return; 
    105105            } 
     106             
     107            OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex); 
    106108             
    107109            float deltaTime = 0.01f; 
     
    173175        osg::observer_ptr<osgFX::MultiTextureControl>   _mtc; 
    174176        Elevations                                      _elevations; 
     177         
     178        OpenThreads::Mutex                              _mutex; 
    175179}; 
    176180