Skip to content

Commit

Permalink
hdGatling: fix missing mediumStackSize render setting value cast
Browse files Browse the repository at this point in the history
  • Loading branch information
pablode committed Jul 4, 2024
1 parent 90ecb2c commit bcd020c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdGatling/renderPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ void HdGatlingRenderPass::_Execute(const HdRenderPassStateSharedPtr& renderPassS
.nextEventEstimation = _settings.find(HdGatlingSettingsTokens->nextEventEstimation)->second.Get<bool>(),
.progressiveAccumulation = _settings.find(HdGatlingSettingsTokens->progressiveAccumulation)->second.Get<bool>(),
.scene = _scene,
.mediumStackSize = (uint32_t) _settings.find(HdGatlingSettingsTokens->mediumStackSize)->second.Get<int>()
.mediumStackSize = VtValue::Cast<uint32_t>(_settings.find(HdGatlingSettingsTokens->mediumStackSize)->second).Get<uint32_t>()
};
_shaderCache = giCreateShaderCache(shaderParams);

Expand Down

0 comments on commit bcd020c

Please sign in to comment.