From 896e072d8bd94020c883e994451b86675ecdced7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 6 Oct 2022 10:04:45 +0200 Subject: a --- src/tile-atlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tile-atlas.cpp b/src/tile-atlas.cpp index d5d56cce..bc573134 100644 --- a/src/tile-atlas.cpp +++ b/src/tile-atlas.cpp @@ -14,7 +14,7 @@ tile_atlas::tile_atlas(Containers::StringView name, const ImageView2D& image, Ve CORRADE_INTERNAL_ASSERT(size_ % dims_ == Vector2ui{}); CORRADE_INTERNAL_ASSERT(dims_.product() < 256); tex_.setWrapping(GL::SamplerWrapping::ClampToBorder) - .setMagnificationFilter(GL::SamplerFilter::Linear) + .setMagnificationFilter(GL::SamplerFilter::Nearest) .setMinificationFilter(GL::SamplerFilter::Linear) .setMaxAnisotropy(0) .setStorage(GL::textureFormat(image.format()), image.size()) -- cgit v1.2.3