diff options
Diffstat (limited to 'src/mbgl/style/layers/line_layer_properties.hpp')
-rw-r--r-- | src/mbgl/style/layers/line_layer_properties.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mbgl/style/layers/line_layer_properties.hpp b/src/mbgl/style/layers/line_layer_properties.hpp index b2bd4aa401..2725e55158 100644 --- a/src/mbgl/style/layers/line_layer_properties.hpp +++ b/src/mbgl/style/layers/line_layer_properties.hpp @@ -73,7 +73,16 @@ struct LineOpacity : DataDrivenPaintProperty<float, attributes::opacity, uniform static float defaultValue() { return 1; } }; -struct LinePattern : CrossFadedDataDrivenPaintProperty<expression::Image, attributes::pattern_to, uniforms::pattern_to, attributes::pattern_from, uniforms::pattern_from> { +struct LinePattern : CrossFadedDataDrivenPaintProperty< + expression::Image, + attributes::pattern_to, + uniforms::pattern_to, + attributes::pattern_from, + uniforms::pattern_from, + attributes::pixel_ratio_to, + uniforms::pixel_ratio_to, + attributes::pixel_ratio_from, + uniforms::pixel_ratio_from> { static expression::Image defaultValue() { return {}; } }; |