summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-09 14:18:14 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-09 14:18:14 +0800
commit43d43c79d0254b8b27f2386f67335e5f3dc5d24f (patch)
treeb9063c72fa5f7a0cf8b14f55ce1180130a0ff96e /indra/llrender/llrender.cpp
parentb89076f0567547b9c2749595af5ae9d5f9de9f3a (diff)
parent7c716d6d516f99628655352a0e679455263924e2 (diff)
Merge branch 'main' into webrtc-voice
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r--indra/llrender/llrender.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 0a522c88d7..99d7b897ee 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -1711,7 +1711,7 @@ void LLRender::flush()
}
//LL_INFOS() << "LLVertexBuffer::sMappingMode " << LLVertexBuffer::sMappingMode << LL_ENDL;
- if(LLVertexBuffer::sMappingMode > 1)
+ if(LLVertexBuffer::sMappingMode == 3)
{
vb->unmapBuffer();
}