From d2419ca3ca5e2cfe321e350e48df31b41d82c605 Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Thu, 18 Apr 2019 08:43:37 -0700 Subject: SL-10988 Make moon disc image render only if current or previous textures are available. --- indra/newview/lldrawpoolwlsky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/lldrawpoolwlsky.cpp b/indra/newview/lldrawpoolwlsky.cpp index a3aa0e289f..b9bc7678e6 100644 --- a/indra/newview/lldrawpoolwlsky.cpp +++ b/indra/newview/lldrawpoolwlsky.cpp @@ -528,7 +528,7 @@ void LLDrawPoolWLSky::renderHeavenlyBodies() LLColor4 color(gSky.mVOSkyp->getMoon().getInterpColor()); - if (can_use_vertex_shaders && can_use_windlight_shaders) + if (can_use_vertex_shaders && can_use_windlight_shaders && (tex_a || tex_b)) { moon_shader->bind(); -- cgit v1.2.3