Fixed warnigns
This commit is contained in:
@@ -875,8 +875,6 @@ void SceneView::releaseAllGLObjects()
|
||||
|
||||
void SceneView::flushAllDeletedGLObjects()
|
||||
{
|
||||
osg::State* state = _renderInfo.getState();
|
||||
|
||||
_requiresFlush = false;
|
||||
|
||||
osg::flushAllDeletedGLObjects(getState()->getContextID());
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user