summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/vertex_buffer.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-04 13:09:51 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-06 16:12:51 +0100
commit2f646af255bf05bd50070deb83bb89e48509afc4 (patch)
tree59c4baf0f1e560845bb49de09a36a67c0fdfc491 /src/mbgl/gl/vertex_buffer.hpp
parentd5816b6db265b36cf1360dc684725b0f7427d959 (diff)
downloadqtlocation-mapboxgl-2f646af255bf05bd50070deb83bb89e48509afc4.tar.gz
[core] make vertex descriptors constexpr
Diffstat (limited to 'src/mbgl/gl/vertex_buffer.hpp')
-rw-r--r--src/mbgl/gl/vertex_buffer.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mbgl/gl/vertex_buffer.hpp b/src/mbgl/gl/vertex_buffer.hpp
index 0b62b86c12..b65e7f9a01 100644
--- a/src/mbgl/gl/vertex_buffer.hpp
+++ b/src/mbgl/gl/vertex_buffer.hpp
@@ -2,17 +2,12 @@
#include <mbgl/gl/object.hpp>
-#include <vector>
-
namespace mbgl {
namespace gl {
template <class V>
class VertexBuffer {
public:
- using Vertex = V;
- static constexpr std::size_t vertexSize = sizeof(Vertex);
-
std::size_t vertexCount;
UniqueBuffer buffer;
};