Cleanup: Hydra compiler warnings

This commit is contained in:
Brecht Van Lommel
2024-12-30 23:24:33 +01:00
parent 7e9a48eb98
commit 068a765271
9 changed files with 23 additions and 15 deletions

View File

@@ -25,7 +25,9 @@ void HdCyclesRenderBuffer::Finalize(HdRenderParam *renderParam)
HdRenderBuffer::Finalize(renderParam);
}
bool HdCyclesRenderBuffer::Allocate(const GfVec3i &dimensions, HdFormat format, bool multiSampled)
bool HdCyclesRenderBuffer::Allocate(const GfVec3i &dimensions,
HdFormat format,
bool /*multiSampled*/)
{
if (dimensions[2] != 1) {
TF_RUNTIME_ERROR("HdCyclesRenderBuffer::Allocate called with dimensions that are not 2D.");