summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-04-13 11:35:36 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-04-29 08:42:54 -0700
commit63027bacf9b96202532a2dd47126ff8430723059 (patch)
treecb464662e47b6fbfc7e48b29d8b7ccda5ba74275 /indra
parentbd9a6edbb53711e4a8ec2a178b4375db266844d3 (diff)
SL-14113 Cleanup face magic number
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lldrawpoolsky.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp
index 96b4a91b0f..77b8a1fc32 100644
--- a/indra/newview/lldrawpoolsky.cpp
+++ b/indra/newview/lldrawpoolsky.cpp
@@ -123,7 +123,7 @@ void LLDrawPoolSky::renderSkyFace(U8 index)
return;
}
- if (index < 6) // sky tex...interp
+ if (index < LLVOSky::FACE_SUN) // sky tex...interp
{
llassert(mSkyTex);
mSkyTex[index].bindTexture(true); // bind the current tex