Bug 8610.

This commit is contained in:
Nissim Hadar 2017-10-25 13:46:59 -07:00
parent 0c9184566e
commit 8d11ace1a6

View file

@ -509,7 +509,7 @@ void RenderDeferredSetup::run(const render::RenderContextPointer& renderContext,
auto& program = deferredLightingEffect->_directionalSkyboxLight;
LightLocationsPtr locations = deferredLightingEffect->_directionalSkyboxLightLocations;
auto keyLight = lightAndShadow.first;
auto keyLight = lightStage->getLight(0);
// Setup the global directional pass pipeline
{