summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-04-13 11:35:36 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-04-29 14:07:57 -0700
commit1ef70ff1d3379fd2362f453dedff78c8aeda24ea (patch)
tree827adf3c01c2a30822ace2441070dca6273b80fd /indra/newview
parent290c66ebf476cb1e6e7141889d1e6faf26dba3ce (diff)
SL-14113 Cleanup face magic number
Diffstat (limited to 'indra/newview')
-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