Integrated various fixes from users.

This commit is contained in:
Robert Osfield
2003-07-05 19:08:30 +00:00
parent 092c094752
commit 4c576770fb
4 changed files with 13 additions and 5 deletions

View File

@@ -263,7 +263,8 @@ void Drawable::setUseDisplayList(bool flag)
void Drawable::dirtyDisplayList()
{
for(unsigned int i=0;i<_globjList.size();++i)
unsigned int i;
for(i=0;i<_globjList.size();++i)
{
if (_globjList[i] != 0)
{
@@ -272,7 +273,7 @@ void Drawable::dirtyDisplayList()
}
}
for(unsigned int i=0;i<_vboList.size();++i)
for(i=0;i<_vboList.size();++i)
{
if (_vboList[i] != 0)
{