diff --git a/libraries/render-utils/src/RenderShadowTask.cpp b/libraries/render-utils/src/RenderShadowTask.cpp index cc82079fd2..0771fcd9bf 100644 --- a/libraries/render-utils/src/RenderShadowTask.cpp +++ b/libraries/render-utils/src/RenderShadowTask.cpp @@ -121,6 +121,7 @@ RenderShadowTask::RenderShadowTask(CullFunctor cullFunctor) : Task(std::make_sha void RenderShadowTask::configure(const Config& configuration) { DependencyManager::get()->setShadowMapEnabled(configuration.enabled); + Task::configure(configuration); } void RenderShadowTask::run(const SceneContextPointer& sceneContext, const render::RenderContextPointer& renderContext) { diff --git a/libraries/render/src/render/Task.h b/libraries/render/src/render/Task.h index 89407a2e2b..e2678f2735 100644 --- a/libraries/render/src/render/Task.h +++ b/libraries/render/src/render/Task.h @@ -101,8 +101,6 @@ template void jobConfigure(T& model, const C& configuration) } template void jobConfigure(T&, const JobConfig&) { } -template void jobConfigure(T&, const TaskConfig&) { -} // FIXME: In c++17, use default classes of nullptr_t to combine these template void jobRun(T& model, const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext) {