summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/attributes.hpp
diff options
context:
space:
mode:
authorKarim Naaji <karim.naaji@gmail.com>2020-06-01 15:34:22 -0700
committerKarim Naaji <karim.naaji@gmail.com>2020-06-01 15:34:22 -0700
commit2dfd8ba452ce1528965ea6bef3355e0f970142ec (patch)
tree0721825d2eedf76ce27445d5b3caefb4423acc8f /src/mbgl/programs/attributes.hpp
parentb675454edf4c2005dd6da3207ab4431135fb9f5e (diff)
downloadqtlocation-mapboxgl-2dfd8ba452ce1528965ea6bef3355e0f970142ec.tar.gz
Start adding new attributes and uniforms
Diffstat (limited to 'src/mbgl/programs/attributes.hpp')
-rw-r--r--src/mbgl/programs/attributes.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/programs/attributes.hpp b/src/mbgl/programs/attributes.hpp
index 09d5eca809..adf30255fa 100644
--- a/src/mbgl/programs/attributes.hpp
+++ b/src/mbgl/programs/attributes.hpp
@@ -53,6 +53,8 @@ MBGL_DEFINE_ATTRIBUTE(float, 1, halo_blur);
MBGL_DEFINE_ATTRIBUTE(float, 1, weight);
MBGL_DEFINE_ATTRIBUTE(uint16_t, 4, pattern_to);
MBGL_DEFINE_ATTRIBUTE(uint16_t, 4, pattern_from);
+MBGL_DEFINE_ATTRIBUTE(float, 1, pixel_ratio_to);
+MBGL_DEFINE_ATTRIBUTE(float, 1, pixel_ratio_from);
} // namespace attributes