Changed Program::apply() to Program::compileGLObjects() to avoid the Program::apply() setting of setLastAppliedProgramObjects for affect current state.
This commit is contained in:
parent
95818b0819
commit
232d227170
@ -297,7 +297,7 @@ double IncrementalCompileOperation::CompileProgramOp::estimatedTimeForCompile(Co
|
||||
bool IncrementalCompileOperation::CompileProgramOp::compile(CompileInfo& compileInfo)
|
||||
{
|
||||
//OSG_NOTICE<<"CompileProgramOp::compile(..)"<<std::endl;
|
||||
_program->apply(*compileInfo.getState());
|
||||
_program->compileGLObjects(*compileInfo.getState());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user