Fixed handling of #define's that are used as functions
This commit is contained in:
@@ -1621,7 +1621,7 @@ std::string State::getDefineString(const osg::ShaderDefines& shaderDefines)
|
||||
shaderDefineStr += cd_itr->first;
|
||||
if (!dp.first.empty())
|
||||
{
|
||||
shaderDefineStr += " ";
|
||||
if (dp.first[0]!='(') shaderDefineStr += " ";
|
||||
shaderDefineStr += dp.first;
|
||||
}
|
||||
#ifdef WIN32
|
||||
|
||||
Reference in New Issue
Block a user