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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-03-19 15:15:00 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:04:09 +0300
commit9a1edf1000d10c842e55d1f8bf0cf018cf3b32b7 (patch)
treecca337ef2eb2cb6c4231099c92527bafd4046ca6 /drape/vertex_array_buffer.cpp
parent9ce24a37cf016b7d92ccc3b6da3db9027e62e181 (diff)
Review fixes
Diffstat (limited to 'drape/vertex_array_buffer.cpp')
-rw-r--r--drape/vertex_array_buffer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/drape/vertex_array_buffer.cpp b/drape/vertex_array_buffer.cpp
index 41e43821ae..9b35baf800 100644
--- a/drape/vertex_array_buffer.cpp
+++ b/drape/vertex_array_buffer.cpp
@@ -89,13 +89,10 @@ void VertexArrayBuffer::UploadData(BindingInfo const & bindingInfo, void const *
{
RefPointer<DataBuffer> buffer;
if (!bindingInfo.IsDynamic())
- {
buffer = GetOrCreateStaticBuffer(bindingInfo);
- }
else
- {
buffer = GetOrCreateDynamicBuffer(bindingInfo);
- }
+
buffer->UploadData(data, count);
}