diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-15 13:22:00 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-15 13:22:00 -0700 |
commit | a020e535cac36d69a8939fb7956260d2217c65b4 (patch) | |
tree | 7acef00fd8aa1e85dae8ff5491e40f42659b5fd6 /src/mbgl/renderer/painter_background.cpp | |
parent | d48333f26d9111d8f4f8420b477c36cece0d14a5 (diff) | |
download | qtlocation-mapboxgl-a020e535cac36d69a8939fb7956260d2217c65b4.tar.gz |
[core] Add a few conveniences to Color
Diffstat (limited to 'src/mbgl/renderer/painter_background.cpp')
-rw-r--r-- | src/mbgl/renderer/painter_background.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/painter_background.cpp b/src/mbgl/renderer/painter_background.cpp index e6fa79eb51..022d3dd7ab 100644 --- a/src/mbgl/renderer/painter_background.cpp +++ b/src/mbgl/renderer/painter_background.cpp @@ -45,7 +45,7 @@ void Painter::renderBackground(const BackgroundLayer& layer) { } else { if (wireframe) { - plainShader->u_color = { 0.0f, 0.0f, 0.0f, 1.0f }; + plainShader->u_color = Color::black(); plainShader->u_opacity = 1.0f; } else { plainShader->u_color = properties.backgroundColor; |