diff --git a/drape/data_buffer.cpp b/drape/data_buffer.cpp index 5d0b6c9c03..e5ee5b7818 100644 --- a/drape/data_buffer.cpp +++ b/drape/data_buffer.cpp @@ -1,6 +1,6 @@ #include "data_buffer.hpp" -DataBuffer::DataBuffer(uint16_t elementSize, uint16_t capacity) +DataBuffer::DataBuffer(uint8_t elementSize, uint16_t capacity) : GLBuffer(GLBuffer::ElementBuffer, elementSize, capacity) { } diff --git a/drape/data_buffer.hpp b/drape/data_buffer.hpp index 05b084214f..e047a135ce 100644 --- a/drape/data_buffer.hpp +++ b/drape/data_buffer.hpp @@ -5,6 +5,6 @@ class DataBuffer : public GLBuffer { public: - DataBuffer(uint16_t elementSize, uint16_t capacity); + DataBuffer(uint8_t elementSize, uint16_t capacity); };