diff options
| author | Dave Parks <davep@lindenlab.com> | 2010-04-16 15:53:26 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2010-04-16 15:53:26 -0500 |
| commit | d568dbd840f8d4c7c87863abfd523054acfa2e2c (patch) | |
| tree | 509a6c603d2182c71adbdbfd5d3c467067126ae0 /indra/newview/lldrawpoolavatar.cpp | |
| parent | 724e45baebd98f840fce0e3dfbd6edd5741e43cb (diff) | |
Fix for busted optimizations.
(transplanted from 6fae1a167f287f23a0cdc5dac8dfa2b74444efcf)
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
| -rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 03e66231d1..c94b0c3fa7 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -853,9 +853,7 @@ LLColor3 LLDrawPoolAvatar::getDebugColor() const LLVertexBufferAvatar::LLVertexBufferAvatar() : LLVertexBuffer(sDataMask, - LLViewerShaderMgr::instance()->getVertexShaderLevel(LLViewerShaderMgr::SHADER_AVATAR) > 0 ? - GL_DYNAMIC_DRAW_ARB : - GL_STREAM_DRAW_ARB) + GL_STREAM_DRAW_ARB) //avatars are always stream draw due to morph targets { } |
