Showing the changes to libraries/render-utils/src/DeferredLightingEffect.cpp (1 of 16 files). Show all
Unified · Split
| @@ -714,5 +714,5 @@ void RenderDeferred::run(const SceneContextPointer& sceneContext, const RenderCo · 713 unmodified lines | ||
| 714 | 714 | }); |
| 715 | 715 | |
| 716 | 716 | auto config = std::static_pointer_cast<Config>(renderContext->jobConfig); |
| 717 | − config->gpuTime = _gpuTimer.getAverage(); | |
| 717 | + config->setGPUBatchRunTime(_gpuTimer.getGPUAverage(), _gpuTimer.getBatchAverage()); | |
| 718 | 718 | } |