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-13 11:35:36 -0700
commit41473f7c506d8b9bb719d11ecac13c2ac516ef60 (patch)
tree15c8a40d228a4201b8fec71cb4bcf18651f7f630 /indra
parentd3cf486ea9eb5b3e7b51141a364a088dbba5054a (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