Fixed warnigns

This commit is contained in:
Robert Osfield
2007-09-13 10:38:38 +00:00
parent c88bcc4506
commit 0b39152321
2 changed files with 1 additions and 3 deletions

View File

@@ -875,8 +875,6 @@ void SceneView::releaseAllGLObjects()
void SceneView::flushAllDeletedGLObjects()
{
osg::State* state = _renderInfo.getState();
_requiresFlush = false;
osg::flushAllDeletedGLObjects(getState()->getContextID());

View File

@@ -152,7 +152,7 @@ void tri_stripper::InitCache()
m_IndicesCache.clear();
if (m_CacheSize > 0)
m_IndicesCache.resize(m_CacheSize, static_cast<size_t>(-1));
m_IndicesCache.resize(m_CacheSize, static_cast<indice>(-1));
}