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:
@@ -55,7 +55,7 @@ class OSG_EXPORT Depth : public StateAttribute
|
||||
virtual int compare(const StateAttribute& sa) const
|
||||
{
|
||||
// check the types are equal and then create the rhs variable
|
||||
// used by the COMPARE_StateAttribute_Parameter macro's below.
|
||||
// used by the COMPARE_StateAttribute_Parameter macros below.
|
||||
COMPARE_StateAttribute_Types(Depth,sa)
|
||||
|
||||
// compare each parameter in turn against the rhs.
|
||||
@@ -64,7 +64,7 @@ class OSG_EXPORT Depth : public StateAttribute
|
||||
COMPARE_StateAttribute_Parameter(_zNear)
|
||||
COMPARE_StateAttribute_Parameter(_zFar)
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user