From b698fe1e047e56e8ed67ba47464c0017d9c50eea Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 26 Oct 2021 15:30:12 +0200 Subject: Cleanup: compiler warnings --- intern/cycles/render/integrator.cpp | 2 +- intern/cycles/render/integrator.h | 2 +- intern/cycles/render/scene.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'intern/cycles/render') diff --git a/intern/cycles/render/integrator.cpp b/intern/cycles/render/integrator.cpp index 16d9fc60fd3..06fa7339b51 100644 --- a/intern/cycles/render/integrator.cpp +++ b/intern/cycles/render/integrator.cpp @@ -270,7 +270,7 @@ void Integrator::tag_update(Scene *scene, uint32_t flag) } } -uint Integrator::get_kernel_features(const Scene *scene) const +uint Integrator::get_kernel_features() const { uint kernel_features = 0; diff --git a/intern/cycles/render/integrator.h b/intern/cycles/render/integrator.h index 91efc25e51e..468971986c5 100644 --- a/intern/cycles/render/integrator.h +++ b/intern/cycles/render/integrator.h @@ -102,7 +102,7 @@ class Integrator : public Node { void tag_update(Scene *scene, uint32_t flag); - uint get_kernel_features(const Scene *scene) const; + uint get_kernel_features() const; AdaptiveSampling get_adaptive_sampling() const; DenoiseParams get_denoise_params() const; diff --git a/intern/cycles/render/scene.cpp b/intern/cycles/render/scene.cpp index 669f5abf7d6..20081677251 100644 --- a/intern/cycles/render/scene.cpp +++ b/intern/cycles/render/scene.cpp @@ -522,7 +522,7 @@ void Scene::update_kernel_features() } kernel_features |= film->get_kernel_features(this); - kernel_features |= integrator->get_kernel_features(this); + kernel_features |= integrator->get_kernel_features(); dscene.data.kernel_features = kernel_features; -- cgit v1.2.3