Streamlined writes to bus external memory

This commit is contained in:
Siana Gearz
2010-11-16 16:46:53 +01:00
parent e1c7378bdf
commit b426c3874f
3 changed files with 20 additions and 20 deletions

View File

@@ -873,7 +873,7 @@ void LLVertexBufferAvatar::setupVertexBuffer(U32 data_mask) const
{
if (sRenderingSkinned)
{
U8* base = useVBOs() ? NULL : mMappedData;
volatile U8* base = useVBOs() ? NULL : mMappedData;
glVertexPointer(3,GL_FLOAT, mStride, (void*)(base + 0));
glNormalPointer(GL_FLOAT, mStride, (void*)(base + mOffsets[TYPE_NORMAL]));