diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-04-06 15:45:44 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2016-04-07 19:56:14 +0300 |
commit | f1a5f885c55573af608b10adb864d37e1b961a37 (patch) | |
tree | 7170124ebf69c9dc29d3ef70c9f8fe3ca4eee02c /drape | |
parent | a7cfa6f5ba350a920dadae23394c797742552c3f (diff) |
Review fix.
Diffstat (limited to 'drape')
-rw-r--r-- | drape/vertex_array_buffer.cpp | 4 |
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(); |