GCCifying Shyotl

This commit is contained in:
Siana Gearz
2011-02-13 23:52:39 +01:00
parent 384ed0b3f8
commit 0a9508a551
2 changed files with 3 additions and 3 deletions

View File

@@ -410,7 +410,7 @@ void LLViewerShaderMgr::setShaders()
//Flag base shader objects for deletion
//Don't worry-- they won't be deleted until no programs refrence them.
std::map<std::string, GLhandleARB>::iterator it = mShaderObjects.begin();
for(it;it!=mShaderObjects.end();++it)
for(; it!=mShaderObjects.end();++it)
if(it->second)
glDeleteObjectARB(it->second);
mShaderObjects.clear();