diff options
author | Dave Parks <davep@lindenlab.com> | 2011-07-11 12:14:06 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-07-11 12:14:06 -0500 |
commit | 9db49b4448abae1e171fd1b40d1a7049b6762353 (patch) | |
tree | 5a15f31078ebf95c3940c00c0c94177bb4c7e3b3 /indra/newview | |
parent | b5149a63f9a3d4eeaa3c8807f9c65d04bbd113bf (diff) |
SH-2038 Disable usage of stream vbo on mac and make flexi's use stream vbo if stream vbo disabled (effectively disables usage of vertex buffers for flexible objects on mac)
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/featuretable_mac.txt | 4 | ||||
-rw-r--r-- | indra/newview/lldrawable.cpp | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/featuretable_mac.txt b/indra/newview/featuretable_mac.txt index 2f9f82fd9e..2784302f5a 100644 --- a/indra/newview/featuretable_mac.txt +++ b/indra/newview/featuretable_mac.txt @@ -1,4 +1,4 @@ -version 27 +version 28 // NOTE: This is mostly identical to featuretable_mac.txt with a few differences // Should be combined into one table @@ -64,7 +64,7 @@ RenderDeferred 1 1 RenderDeferredSSAO 1 1 RenderShadowDetail 1 2 WatchdogDisabled 1 1 -RenderUseStreamVBO 1 1 +RenderUseStreamVBO 1 0 RenderFSAASamples 1 16 // diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index ad3710843c..90fcb94088 100644 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -1529,6 +1529,11 @@ BOOL LLDrawable::isAnimating() const return TRUE; } + if (!LLVertexBuffer::sUseStreamDraw && mVObjp->isFlexible()) + { + return TRUE; + } + return FALSE; } |