diff options
author | Dave Parks <davep@lindenlab.com> | 2012-04-17 17:44:39 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-04-17 17:44:39 -0500 |
commit | 70ade9f538f6aa9ab0915c0a7040bbf20dfb98a1 (patch) | |
tree | b7aba8c2692546ca37081846cfc15cd1706f3c39 /indra/newview/llspatialpartition.h | |
parent | 1de63bec5089e64b1bf6bc7eaad95d5210f0fd05 (diff) |
MAINT-775 WIP on crash when exploring Insilico -- don't hold onto off-screen vertex buffers for more than a few seconds.
Diffstat (limited to 'indra/newview/llspatialpartition.h')
-rw-r--r-- | indra/newview/llspatialpartition.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llspatialpartition.h b/indra/newview/llspatialpartition.h index 1a93145cc5..ccc65f3da0 100644 --- a/indra/newview/llspatialpartition.h +++ b/indra/newview/llspatialpartition.h @@ -316,7 +316,7 @@ public: void buildOcclusion(); //rebuild mOcclusionVerts void checkOcclusion(); //read back last occlusion query (if any) void doOcclusion(LLCamera* camera); //issue occlusion query - void destroyGL(); + void destroyGL(bool keep_occlusion = false); void updateDistance(LLCamera& camera); BOOL needsUpdate(); |