From 3fdb2ea2b3f611a86ed58b07e9a6ac3278b99173 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 18:57:15 +0000 Subject: [PATCH] Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/mbgl/gl/vertex_attribute_gl.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mbgl/gl/vertex_attribute_gl.cpp b/src/mbgl/gl/vertex_attribute_gl.cpp index 122099f13..1d86e78c1 100644 --- a/src/mbgl/gl/vertex_attribute_gl.cpp +++ b/src/mbgl/gl/vertex_attribute_gl.cpp @@ -110,10 +110,9 @@ bool VertexAttributeGL::get(const gfx::VertexAttribute::ElementType& element, GL return gl::get(element, buffer); case GL_FLOAT_VEC4: case GL_FLOAT_MAT2: - return gl::get(element, buffer) || - gl::get(element, buffer, [](int4 x) { - return float4{(float)x[0], (float)x[1], (float)x[2], (float)x[3]}; - }); + return gl::get(element, buffer) || gl::get(element, buffer, [](int4 x) { + return float4{(float)x[0], (float)x[1], (float)x[2], (float)x[3]}; + }); case GL_INT: return gl::get(element, buffer) || gl::get(element, buffer); case GL_UNSIGNED_INT: