diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-06 11:37:18 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-06 11:37:18 +0800 |
commit | 375a21652ffab95fd0bc65180d4c0d31b87ba264 (patch) | |
tree | 2cf1f3ef5bcb16ec1508e76ccebd4719c6f4289a /indra/llrender | |
parent | 7dab57f52b5f34c84b5bba95d5e357e563cacb99 (diff) |
Disable glFlushMappedBufferRangeAPPLE use
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 2 |
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(); } |