compilation fixes when no OSG_GL_DISPLAYLISTS_AVAILABLE

This commit is contained in:
Mathieu MARACHE
2016-08-05 23:01:15 +02:00
committed by Robert Osfield
parent afe45f66d2
commit 3745b958e5

View File

@@ -439,8 +439,8 @@ void Drawable::dirtyDisplayList()
void Drawable::dirtyGLObjects()
{
#ifdef OSG_GL_DISPLAYLISTS_AVAILABLE
unsigned int i;
#ifdef OSG_GL_DISPLAYLISTS_AVAILABLE
for(i=0;i<_globjList.size();++i)
{
if (_globjList[i] != 0)