diff options
author | Dave Parks <davep@lindenlab.com> | 2011-09-28 12:38:31 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-09-28 12:38:31 -0500 |
commit | 5ca512fa1f36998440bad5256730c9d22f195037 (patch) | |
tree | 4c79609ab04657279e7264922cdebaecc90ca3d8 /indra/llrender | |
parent | 4328b30180bd057412de2085c1d758f5e6906d70 (diff) |
SH-2450 Potential fix for crash on GeForce 4xx when allocating LLVertexBuffer data
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index 199699449a..5756ccdcd5 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -560,8 +560,8 @@ void LLVertexBuffer::initClass(bool use_vbo, bool no_vbo_mapping) sDisableVBOMapping = sEnableVBOs && no_vbo_mapping ; if(!sPrivatePoolp) - { - sPrivatePoolp = LLPrivateMemoryPoolManager::getInstance()->newPool(LLPrivateMemoryPool::STATIC) ; + { //disable private pool for now -- lots of memory allocations failing for vertex buffers erroneously + //sPrivatePoolp = LLPrivateMemoryPoolManager::getInstance()->newPool(LLPrivateMemoryPool::STATIC) ; } } |