Skip to content

Commit

Permalink
renamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
roopavr-adsk committed May 28, 2024
1 parent 5c69f56 commit db9780c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mayaHydra/mayaPlugin/renderOverride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1089,8 +1089,8 @@ MStatus MtohRenderOverride::Render(
}

// Toggle textures in the material network
const unsigned int currentTextureMode = drawContext.getDisplayStyle();
bool isTextured = currentTextureMode & MHWRender::MFrameContext::kTextured;
const unsigned int currentDisplayMode = drawContext.getDisplayStyle();
bool isTextured = currentDisplayMode & MHWRender::MFrameContext::kTextured;
if (_pruneTexturesSceneIndex &&
_currentlyTextured != isTextured) {
_pruneTexturesSceneIndex->MarkTexturesDirty(isTextured);
Expand Down

0 comments on commit db9780c

Please sign in to comment.