diff options
author | Dave Parks <davep@lindenlab.com> | 2011-10-04 17:25:55 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-10-04 17:25:55 -0500 |
commit | ae0cd901f8917f1cacc4c402e5a51a06632a076b (patch) | |
tree | 7c7d49d0d82e0ed4e5fe22d79d6013412bcc3479 /indra/llrender/llvertexbuffer.cpp | |
parent | c4aa8c50daf7c4eea3509057a7ca74b083682779 (diff) |
SH-2428 Make GCC 4.4 happy by using LLVector4a striders with LLAlphaObject subclasses -- also vectorize particle VBO updates
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index c3e1a486b3..4484a880cc 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -1841,6 +1841,10 @@ bool LLVertexBuffer::getVertexStrider(LLStrider<LLVector3>& strider, S32 index, { return VertexBufferStrider<LLVector3,TYPE_VERTEX>::get(*this, strider, index, count, map_range); } +bool LLVertexBuffer::getVertexStrider(LLStrider<LLVector4a>& strider, S32 index, S32 count, bool map_range) +{ + return VertexBufferStrider<LLVector4a,TYPE_VERTEX>::get(*this, strider, index, count, map_range); +} bool LLVertexBuffer::getIndexStrider(LLStrider<U16>& strider, S32 index, S32 count, bool map_range) { return VertexBufferStrider<U16,TYPE_INDEX>::get(*this, strider, index, count, map_range); |