diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-29 13:13:37 -0800 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-29 13:13:37 -0800 |
commit | d74aff7869d45f3061026766bfbd2db942645ac9 (patch) | |
tree | 5bb5785b7ca36a70d5d5d854c6df7ef47c637c7a | |
parent | 9c55d91f786eff48a27bf960e1f48f5369532e66 (diff) |
CID-347
Checker: UNINIT_CTOR
Function: LLDrawPoolSky::LLDrawPoolSky()
File: /indra/newview/lldrawpoolsky.cpp
-rw-r--r-- | indra/newview/lldrawpoolsky.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp index 8428be194f..0f76165053 100644 --- a/indra/newview/lldrawpoolsky.cpp +++ b/indra/newview/lldrawpoolsky.cpp @@ -48,8 +48,11 @@ #include "pipeline.h" #include "llviewershadermgr.h" -LLDrawPoolSky::LLDrawPoolSky() : - LLFacePool(POOL_SKY), mShader(NULL) +LLDrawPoolSky::LLDrawPoolSky() +: LLFacePool(POOL_SKY), + + mSkyTex(NULL), + mShader(NULL) { } @@ -132,6 +135,7 @@ void LLDrawPoolSky::renderSkyCubeFace(U8 side) return; } + llassert(mSkyTex); mSkyTex[side].bindTexture(TRUE); face.renderIndexed(); |