From Marco Jez, fixes to osgFX so that effects are compiled correctly.

Fixed title name of osgkeyboardmouse example.
This commit is contained in:
Robert Osfield
2003-12-16 23:43:37 +00:00
parent 7fcdf9b82d
commit 6bdbe942b1
4 changed files with 13 additions and 2 deletions

View File

@@ -23,6 +23,11 @@ Validator::Validator(const Validator &copy, const osg::CopyOp &copyop)
{
}
void Validator::compile(osg::State &state) const
{
apply(state);
}
void Validator::apply(osg::State &state) const
{
if (!effect_) return;