From 375a21652ffab95fd0bc65180d4c0d31b87ba264 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 6 Sep 2023 11:37:18 +0800 Subject: Disable glFlushMappedBufferRangeAPPLE use --- indra/llrender/llvertexbuffer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/llrender') 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(); } -- cgit v1.2.3