From 87189d95346d6b3a11776d6b160bb55e629f5e50 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 31 May 2023 15:06:04 +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/upload_pass.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mbgl/gl/upload_pass.cpp b/src/mbgl/gl/upload_pass.cpp index dcaadf8bc..d3b4b9c03 100644 --- a/src/mbgl/gl/upload_pass.cpp +++ b/src/mbgl/gl/upload_pass.cpp @@ -212,10 +212,7 @@ gfx::AttributeBindingArray UploadPass::buildAttributeBindings( std::shared_ptr UploadPass::createTexture2D(const PremultipliedImage& image) { auto tex = std::make_shared(commandEncoder.context); - tex->setSize(image.size) - .setFormat(gfx::TexturePixelType::RGBA, - gfx::TextureChannelDataType::UnsignedByte) - .create(); + tex->setSize(image.size).setFormat(gfx::TexturePixelType::RGBA, gfx::TextureChannelDataType::UnsignedByte).create(); tex->upload(image, *this); return tex; }