summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-06 11:37:18 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-06 11:37:18 +0800
commit375a21652ffab95fd0bc65180d4c0d31b87ba264 (patch)
tree2cf1f3ef5bcb16ec1508e76ccebd4719c6f4289a /indra
parent7dab57f52b5f34c84b5bba95d5e357e563cacb99 (diff)
Disable glFlushMappedBufferRangeAPPLE use
Diffstat (limited to 'indra')
-rw-r--r--indra/llrender/llvertexbuffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index 57c37328c4..f71403d2f4 100644
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -1924,6 +1924,7 @@ void LLVertexBuffer::unmapBuffer()
glFlushMappedBufferRange(GL_ELEMENT_ARRAY_BUFFER, offset, length);
#endif
}
+ /*
else if (gGLManager.mHasFlushBufferRange)
{
#ifdef GL_APPLE_flush_buffer_range
@@ -1932,6 +1933,7 @@ void LLVertexBuffer::unmapBuffer()
#endif
#endif
}
+ */
stop_glerror();
}