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
path: root/drape
diff options
context:
space:
mode:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2016-04-06 15:45:44 +0300
committerAlex Zolotarev <alex@maps.me>2016-04-07 19:56:14 +0300
commitf1a5f885c55573af608b10adb864d37e1b961a37 (patch)
tree7170124ebf69c9dc29d3ef70c9f8fe3ca4eee02c /drape
parenta7cfa6f5ba350a920dadae23394c797742552c3f (diff)
Review fix.
Diffstat (limited to 'drape')
-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();