Skip to content

Commit 085e570

Browse files
Hydrogent: fixed compiler warning
1 parent ef4d329 commit 085e570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Hydrogent/src/HnRenderPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ struct HnRenderPass::RenderState
181181
if (Type == PBR_Renderer::RenderPassType::OITLayers && pRWOITLayersSRB == nullptr)
182182
{
183183
pRWOITLayersSRB = RPState.GetRWOITLayersSRB();
184-
VERIFY_EXPR(pRWOITLayersSRB != nullptr, "RW OIT layers SRB is null. It should have been set in the render pass state by HnBeginOITPassTask::Execute().");
184+
VERIFY(pRWOITLayersSRB != nullptr, "RW OIT layers SRB is null. It should have been set in the render pass state by HnBeginOITPassTask::Execute().");
185185
pCtx->CommitShaderResources(pRWOITLayersSRB, RESOURCE_STATE_TRANSITION_MODE_VERIFY);
186186
}
187187

0 commit comments

Comments
 (0)