summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-06 10:08:43 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-06 16:12:51 +0100
commitec42b2a5a409d767655a61228f951e1f37835d44 (patch)
tree6475348f95c7bacfe6257b631faf2c88a7065be8 /src/mbgl/gfx
parent458bb6551009dae199fa57df8461f0b1878d7d06 (diff)
downloadqtlocation-mapboxgl-ec42b2a5a409d767655a61228f951e1f37835d44.tar.gz
[core] move BufferUsage enum to gfx namespace
Diffstat (limited to 'src/mbgl/gfx')
-rw-r--r--src/mbgl/gfx/types.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mbgl/gfx/types.hpp b/src/mbgl/gfx/types.hpp
index a9cb4e1ece..6082d99017 100644
--- a/src/mbgl/gfx/types.hpp
+++ b/src/mbgl/gfx/types.hpp
@@ -127,5 +127,11 @@ enum CullFaceWindingType : uint8_t {
CounterClockwise,
};
+enum class BufferUsageType : uint8_t {
+ StreamDraw,
+ StaticDraw,
+ DynamicDraw,
+};
+
} // namespace gfx
} // namespace mbgl