From Mike Weiblen, fix to the state leakage.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user