Changed StateAttribute::getAssociatedModes(std::vector<GLMode>&) across
to StateAttribute::getModeUsage(StateAttribute::ModeUsage&).
This commit is contained in:
@@ -136,9 +136,10 @@ class SG_EXPORT FragmentProgram : public StateAttribute
|
||||
return 0; // passed all the above comparison macro's, must be equal.
|
||||
}
|
||||
|
||||
virtual void getAssociatedModes(std::vector<GLMode>& modes) const
|
||||
virtual bool getModeUsage(ModeUsage& usage) const
|
||||
{
|
||||
modes.push_back(GL_FRAGMENT_PROGRAM_ARB);
|
||||
usage.usesMode(GL_FRAGMENT_PROGRAM_ARB);
|
||||
return true;
|
||||
}
|
||||
|
||||
// data access methods.
|
||||
|
||||
Reference in New Issue
Block a user