Warning fix

This commit is contained in:
Robert Osfield
2009-04-22 16:41:58 +00:00
parent c3e9f27f35
commit 3efb69b0c6

View File

@@ -353,7 +353,7 @@ void ShaderGenVisitor::update(osg::Drawable *drawable)
StateEx *state = static_cast<StateEx *>(_state.get());
// skip nodes without state sets
if (state->getStateSetStackSize() == (_rootStateSet.valid() ? 1 : 0))
if (state->getStateSetStackSize() == (_rootStateSet.valid() ? 1u : 0u))
return;
// skip state sets with already attached programs