Fixed some inconsistencies between header files and function definitions

where the header file declared a parameter non-const, but the function
definition expected a const.  The Solaris linker was coming up with
undefined symbols.
This commit is contained in:
Don BURNS
2002-10-08 05:41:19 +00:00
parent 04a9a09a8b
commit ab580f1e3b
6 changed files with 13 additions and 12 deletions

View File

@@ -771,7 +771,7 @@ void StateSet::compile(State& state) const
}
}
void StateSet::setRenderingHint(const int hint)
void StateSet::setRenderingHint(int hint)
{
_renderingHint = hint;
// temporary hack to get new render bins working.
@@ -799,7 +799,7 @@ void StateSet::setRenderingHint(const int hint)
}
}
void StateSet::setRenderBinDetails(const int binNum,const std::string& binName,const RenderBinMode mode)
void StateSet::setRenderBinDetails(int binNum,const std::string& binName,RenderBinMode mode)
{
_binMode = mode;
_binNum = binNum;