Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-06-07 20:54:48 +00:00
committed by Bart Louwers
parent 02e598861a
commit d482de1f54

View File

@@ -88,10 +88,8 @@ void GeometryTileRenderData::upload(gfx::UploadPass& uploadPass) {
if (layoutResult->glyphAtlasImage && layoutResult->glyphAtlasImage->valid()) {
atlasTextures->glyph = uploadPass.getContext().createTexture2D();
atlasTextures->glyph->setSamplerConfiguration({
gfx::TextureFilterType::Linear,
gfx::TextureWrapType::Clamp,
gfx::TextureWrapType::Clamp});
atlasTextures->glyph->setSamplerConfiguration(
{gfx::TextureFilterType::Linear, gfx::TextureWrapType::Clamp, gfx::TextureWrapType::Clamp});
atlasTextures->glyph->upload(*layoutResult->glyphAtlasImage);
layoutResult->glyphAtlasImage = {};
}