Skip to content

Commit

Permalink
Fixed an implicit type conversion warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
apanteleev committed May 10, 2024
1 parent 3659a38 commit e3aa141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace nvrhi::utils
{
const FormatInfo& formatInfo = getFormatInfo(att.texture->getDesc().format);
commandList->clearDepthStencilTexture(att.texture, att.subresources, formatInfo.hasDepth, depth,
formatInfo.hasStencil, stencil);
formatInfo.hasStencil, uint8_t(stencil));
}
}

Expand Down

0 comments on commit e3aa141

Please sign in to comment.