From 3745b958e5a851b4e0fe7402cd3552a5eb2df952 Mon Sep 17 00:00:00 2001 From: Mathieu MARACHE Date: Fri, 5 Aug 2016 23:01:15 +0200 Subject: [PATCH] compilation fixes when no OSG_GL_DISPLAYLISTS_AVAILABLE --- src/osg/Drawable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Drawable.cpp b/src/osg/Drawable.cpp index 9b2565b7c..370265852 100644 --- a/src/osg/Drawable.cpp +++ b/src/osg/Drawable.cpp @@ -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)