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; }