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-06-22 15:38:38 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:09:25 +0300
commitf243d859947c05a42d94e715d9f831bf3f88a1e0 (patch)
treebc44237cf7e22431b38beca83d7195ebbb9ced73 /drape/attribute_provider.cpp
parent7508e58bcd6f2cc4988940013972afe029a8a831 (diff)
Added supporting of 32-bit indices
Diffstat (limited to 'drape/attribute_provider.cpp')
-rw-r--r--drape/attribute_provider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/drape/attribute_provider.cpp b/drape/attribute_provider.cpp
index be6ec539ae..1271c8feb0 100644
--- a/drape/attribute_provider.cpp
+++ b/drape/attribute_provider.cpp
@@ -15,7 +15,7 @@
namespace dp
{
-AttributeProvider::AttributeProvider(uint8_t streamCount, uint16_t vertexCount)
+AttributeProvider::AttributeProvider(uint8_t streamCount, uint32_t vertexCount)
: m_vertexCount(vertexCount)
{
m_streams.resize(streamCount);
@@ -29,7 +29,7 @@ bool AttributeProvider::IsDataExists() const
return m_vertexCount > 0;
}
-uint16_t AttributeProvider::GetVertexCount() const
+uint32_t AttributeProvider::GetVertexCount() const
{
return m_vertexCount;
}
@@ -53,7 +53,7 @@ BindingInfo const & AttributeProvider::GetBindingInfo(uint8_t streamIndex) const
return m_streams[streamIndex].m_binding;
}
-void AttributeProvider::Advance(uint16_t vertexCount)
+void AttributeProvider::Advance(uint32_t vertexCount)
{
ASSERT_LESS_OR_EQUAL(vertexCount, m_vertexCount, ());
CHECK_STREAMS;