Cleanup: Unused variable warning with path guiding turned off

This commit is contained in:
Hans Goudey 2022-09-27 15:00:37 -05:00
parent f2bad0e49f
commit b145cc9d36
1 changed files with 3 additions and 0 deletions

View File

@ -1314,6 +1314,9 @@ void PathTrace::set_guiding_params(const GuidingParams &guiding_params, const bo
guiding_field_->Reset();
}
}
#else
(void)guiding_params;
(void)reset;
#endif
}