summaryrefslogtreecommitdiff
path: root/indra/newview/llscenemonitor.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-05-23 18:25:21 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-05-23 18:25:21 -0600
commit16616ae48d86da75b3809fa6be6c846a9d420603 (patch)
tree6af6a40e0d586d2c7f2a7c2bf1b80f321bda173f /indra/newview/llscenemonitor.cpp
parent8026ac0dc9cb98eec6bb34cb6766c4150f876bf8 (diff)
for SH-4145: Interesting: Implement occlusion culling for object cache
Diffstat (limited to 'indra/newview/llscenemonitor.cpp')
-rw-r--r--indra/newview/llscenemonitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index 15fe77f028..c592fd0a38 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -107,7 +107,7 @@ void LLSceneMonitor::reset()
if(mQueryObject > 0)
{
- release_occlusion_query_object_name(mQueryObject);
+ LLOcclusionCullingGroup::releaseOcclusionQueryObjectName(mQueryObject);
mQueryObject = 0;
}
}
@@ -437,7 +437,7 @@ void LLSceneMonitor::calcDiffAggregate()
if(!mQueryObject)
{
- mQueryObject = get_new_occlusion_query_object_name();
+ mQueryObject = LLOcclusionCullingGroup::getNewOcclusionQueryObjectName();
}
LLGLDepthTest depth(true, false, GL_ALWAYS);