From 55077a83dd7dda0684033b635a4bb5d2bc1d1109 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 16 May 2023 16:59:33 +0000 Subject: [PATCH] Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- include/mbgl/gfx/drawable.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mbgl/gfx/drawable.hpp b/include/mbgl/gfx/drawable.hpp index bb33cab27..8c1d540f7 100644 --- a/include/mbgl/gfx/drawable.hpp +++ b/include/mbgl/gfx/drawable.hpp @@ -103,7 +103,8 @@ public: // Reset a single color attribute for all vertexes virtual void resetColor(const Color&) = 0; - /// Convert from the odd partially-normalized color component array produced by `Color::toArray` into normalized RGBA. + /// Convert from the odd partially-normalized color component array produced by `Color::toArray` into normalized + /// RGBA. static gfx::VertexAttribute::float4 colorAttrRGBA(const Color& color) { const auto components = color.toArray(); return {static_cast(components[0] / 255.0),