summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-06 11:32:48 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-06 11:32:48 +0800
commit7dab57f52b5f34c84b5bba95d5e357e563cacb99 (patch)
treed156b09f96475706a517cc1503ac685a2b24d915 /indra/llrender
parentba2d401017b6b32a7224f09671d27600da17d499 (diff)
Core profile glFlushMappedBufferRange function
replacing its APPLE counterpart.
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llvertexbuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index c8d6d16c1a..57c37328c4 100644
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -1847,7 +1847,7 @@ void LLVertexBuffer::unmapBuffer()
else if (gGLManager.mHasFlushBufferRange)
{
#ifndef LL_MESA_HEADLESS
- glFlushMappedBufferRangeAPPLE(GL_ARRAY_BUFFER_ARB, offset, length);
+ glFlushMappedBufferRange(GL_ARRAY_BUFFER, offset, length);
#endif
}
}