summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/symbol_program.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/programs/symbol_program.hpp')
-rw-r--r--src/mbgl/programs/symbol_program.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mbgl/programs/symbol_program.hpp b/src/mbgl/programs/symbol_program.hpp
index e7c428034b..764cbbe961 100644
--- a/src/mbgl/programs/symbol_program.hpp
+++ b/src/mbgl/programs/symbol_program.hpp
@@ -43,6 +43,7 @@ MBGL_DEFINE_UNIFORM_SCALAR(bool, u_is_size_feature_constant);
MBGL_DEFINE_UNIFORM_SCALAR(float, u_size_t);
MBGL_DEFINE_UNIFORM_SCALAR(float, u_size);
MBGL_DEFINE_UNIFORM_SCALAR(float, u_layout_size);
+MBGL_DEFINE_UNIFORM_SCALAR(float, u_collision_y_stretch);
} // namespace uniforms
struct SymbolLayoutAttributes : gl::Attributes<
@@ -390,7 +391,8 @@ class SymbolIconProgram : public SymbolProgram<
uniforms::u_rotate_with_map,
uniforms::u_texture,
uniforms::u_fadetexture,
- uniforms::u_is_text>,
+ uniforms::u_is_text,
+ uniforms::u_collision_y_stretch>,
style::IconPaintProperties>
{
public:
@@ -423,6 +425,7 @@ class SymbolSDFProgram : public SymbolProgram<
uniforms::u_texture,
uniforms::u_fadetexture,
uniforms::u_is_text,
+ uniforms::u_collision_y_stretch,
uniforms::u_gamma_scale,
uniforms::u_pitch,
uniforms::u_bearing,
@@ -444,6 +447,7 @@ public:
uniforms::u_texture,
uniforms::u_fadetexture,
uniforms::u_is_text,
+ uniforms::u_collision_y_stretch,
uniforms::u_gamma_scale,
uniforms::u_pitch,
uniforms::u_bearing,