Skip to content

Commit

Permalink
Use the already defined MString.
Browse files Browse the repository at this point in the history
  • Loading branch information
krickw committed May 14, 2020
1 parent 4231b85 commit 5a309f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/mayaUsd/render/vp2RenderDelegate/render_delegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ namespace
shader = shaderMgr->getFragmentShader(
_fallbackShaderNames[index], _structOutputName, true);
#if MAYA_API_VERSION >= 20210000
MString diffuseColorParamName("diffuseColor");
shader->setWantMultiDrawConsolidation(diffuseColorParamName, true);
shader->setWantMultiDrawConsolidation(_diffuseColorParameterName, true);
#endif
}
}
Expand Down

0 comments on commit 5a309f2

Please sign in to comment.