From Magnus Kessler, "After a closer look at this particular issue, I used some grep and sed magic

to fix all occurrences of "macro's" and "paramter".
"
This commit is contained in:
Robert Osfield
2010-09-30 16:57:02 +00:00
parent 17aaa4db94
commit e5bc43f04c
37 changed files with 62 additions and 62 deletions

View File

@@ -127,13 +127,13 @@ class OSG_EXPORT FragmentProgram : public StateAttribute
virtual int compare(const osg::StateAttribute& sa) const
{
// check the types are equal and then create the rhs variable
// used by the COMPARE_StateAttribute_Paramter macro's below.
// used by the COMPARE_StateAttribute_Parameter macros below.
COMPARE_StateAttribute_Types(FragmentProgram,sa)
// compare each parameter in turn against the rhs.
COMPARE_StateAttribute_Parameter(_fragmentProgram)
return 0; // passed all the above comparison macro's, must be equal.
return 0; // passed all the above comparison macros, must be equal.
}
virtual bool getModeUsage(StateAttribute::ModeUsage& usage) const