Changeset 10078 for OpenSceneGraph/trunk/src/osgUtil/ShaderGen.cpp
- Timestamp:
- 04/22/09 18:41:58 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgUtil/ShaderGen.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgUtil/ShaderGen.cpp
r9940 r10078 354 354 StateEx *state = static_cast<StateEx *>(_state.get()); 355 355 // skip nodes without state sets 356 if (state->getStateSetStackSize() == (_rootStateSet.valid() ? 1 : 0))356 if (state->getStateSetStackSize() == (_rootStateSet.valid() ? 1u : 0u)) 357 357 return; 358 358
