Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drape/vertex_array_buffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drape/vertex_array_buffer.cpp b/drape/vertex_array_buffer.cpp
index 52e436c3b8..ba836c9e59 100644
--- a/drape/vertex_array_buffer.cpp
+++ b/drape/vertex_array_buffer.cpp
@@ -230,8 +230,8 @@ void VertexArrayBuffer::UploadIndexes(void const * data, uint32_t count)
void VertexArrayBuffer::ApplyMutation(ref_ptr<IndexBufferMutator> indexMutator,
ref_ptr<AttributeBufferMutator> attrMutator)
{
- /// If OES_vertex_array_object is supported than we need to bind current VAO before call glBindBuffer,
- /// otherwise we could affect previously binded VAO.
+ /// We need to bind current VAO before calling glBindBuffer if OES_vertex_array_object is supported.
+ /// Otherwise we risk affecting a previously binded VAO.
if (GLExtensionsList::Instance().IsSupported(GLExtensionsList::VertexArrayObject))
Bind();