Deprecated dirtyDisplayLists(), use established dirtyGLObjects() instead

This commit is contained in:
Robert Osfield
2017-12-18 13:54:08 +00:00
parent 3bb327e93f
commit d2bfde30f0
11 changed files with 42 additions and 43 deletions

View File

@@ -129,7 +129,7 @@ protected:
osg::Vec4Array* c = dynamic_cast<osg::Vec4Array*>(geo->getColorArray());
if (c) (*c)[0] = color;
geo->dirtyDisplayList();
geo->dirtyGLObjects();
c->dirty();
}
@@ -350,7 +350,7 @@ public:
(*tex_coords)[2].set(r,b);
(*tex_coords)[3].set(r,t);
tex_coords->dirty();
_geo->dirtyDisplayList();
_geo->dirtyGLObjects();
}
}
}