diff options
author | Graham Linden <graham@lindenlab.com> | 2019-04-18 08:43:37 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-04-18 08:43:37 -0700 |
commit | d2419ca3ca5e2cfe321e350e48df31b41d82c605 (patch) | |
tree | 555820e00e69219b6306bea5a66a542ceba13311 | |
parent | 5f8cca95f8890d22496932827626f6c437d2b188 (diff) |
SL-10988
Make moon disc image render only if current or previous textures are available.
-rw-r--r-- | indra/newview/lldrawpoolwlsky.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |