From Mike Weiblen, fix to the state leakage.

This commit is contained in:
Robert Osfield
2004-11-10 09:56:03 +00:00
parent 8f621d6ae1
commit a383330ae4
3 changed files with 16 additions and 27 deletions

View File

@@ -12,7 +12,7 @@
*/
/* file: src/osgGL2/ProgramObject.cpp
* author: Mike Weiblen 2004-07-08
* author: Mike Weiblen 2004-11-09
*
* See http://www.3dlabs.com/opengl2/ for more information regarding
* the OpenGL Shading Language.
@@ -208,6 +208,11 @@ int ProgramObject::compare(const osg::StateAttribute& sa) const
}
void ProgramObject::compileGLObjects(osg::State& state) const
{
}
// mark all PCPOs as needing a relink
void ProgramObject::dirtyProgramObject()
{