Update PostProcessing.cpp

This commit is contained in:
Astazium 2026-09-19 00:39:08 +03:00 • committed by GitHub
parent ff77912f33
commit 68ced64a11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -159,12 +159,12 @@ void PostProcessing::renderDeferredShading(
gbuffer->bindBuffers();
auto& lightingEffect = assets.require<PostEffect>("deferred_lighting");
auto& lightingShader = lightingEffect.use();
auto& effect = assets.require<PostEffect>("deferred_lighting");
auto& shader = effect.use();
configureEffect(
context,
lightingEffect,
lightingShader,
effect,
shader,
timer,
camera
);