diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-27 13:53:40 -0800 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-01-27 13:53:40 -0800 |
commit | e998513aa5e0aad186a16518e1d693fd2b3cf2b7 (patch) | |
tree | 2a3a9fe4dd696afe6fb232d4c8398c14e0e427ce /indra/newview | |
parent | 481bf863c2194400fec15c3ebaac4a0f4d69ed6d (diff) |
CID-128
Checker: NO_EFFECT
Function: LLSpatialGroup::~LLSpatialGroup()
File: /indra/newview/llspatialpartition.cpp
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 465221c494..2a57d48f16 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -294,7 +294,7 @@ LLSpatialGroup::~LLSpatialGroup() sNodeCount--; - if (gGLManager.mHasOcclusionQuery && mOcclusionQuery) + if (gGLManager.mHasOcclusionQuery && mOcclusionQuery[LLViewerCamera::sCurCameraID]) { sQueryPool.release(mOcclusionQuery[LLViewerCamera::sCurCameraID]); } |