Fixed OpenGL invalid state in globebrowsing.

This commit is contained in:
Jonathas Costa
2018-10-31 18:25:44 -04:00
parent a66ba10408
commit c4ff9ec139
@@ -653,7 +653,7 @@ void RenderableGlobe::renderChunks(const RenderData& data, RendererTasks&) {
}
if (_generalProperties.performShading) {
const bool onr = _generalProperties.orenNayarRoughness;
const float onr = _generalProperties.orenNayarRoughness;
_localRenderer.program->setUniform("orenNayarRoughness", onr);
_globalRenderer.program->setUniform("orenNayarRoughness", onr);
}