Showing the changes to libraries/render-utils/src/DeferredLightingEffect.cpp (1 of 11 files). Show all
Unified · Split
| @@ -253,7 +253,7 @@ void DeferredLightingEffect::render() { · 252 unmodified lines | ||
| 253 | 253 | program->bind(); |
| 254 | 254 | } |
| 255 | 255 | program->setUniformValue(locations->shadowScale, |
| 256 | − 1.0f / textureCache->getShadowFramebufferObject()->width()); | |
| 256 | + 1.0f / textureCache->getShadowFramebuffer()->getWidth()); | |
| 257 | 257 | |
| 258 | 258 | } else { |
| 259 | 259 | if (_ambientLightMode > -1) { |