summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/background_layer_properties.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/layers/background_layer_properties.hpp')
-rw-r--r--src/mbgl/style/layers/background_layer_properties.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/layers/background_layer_properties.hpp b/src/mbgl/style/layers/background_layer_properties.hpp
index 6c5a7c57ca..78a35a4f0c 100644
--- a/src/mbgl/style/layers/background_layer_properties.hpp
+++ b/src/mbgl/style/layers/background_layer_properties.hpp
@@ -17,7 +17,7 @@ public:
void cascade(const CascadeParameters&);
bool recalculate(const CalculationParameters&);
- PaintProperty<Color> backgroundColor { { 0, 0, 0, 1 } };
+ PaintProperty<Color> backgroundColor { Color::black() };
PaintProperty<std::string, CrossFadedPropertyEvaluator> backgroundPattern { "" };
PaintProperty<float> backgroundOpacity { 1 };
};