From 0d279c61665e74f47aaa9a13b81f0a00692c5e8c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 13 Jun 2022 11:40:12 +0200 Subject: a --- atlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'atlas.cpp') diff --git a/atlas.cpp b/atlas.cpp index 5904dc19..e1a1a4b7 100644 --- a/atlas.cpp +++ b/atlas.cpp @@ -15,7 +15,7 @@ atlas_texture::atlas_texture(const ImageView2D& image, Vector2i dims) : CORRADE_INTERNAL_ASSERT(size_ % dims_ == Vector2i{}); CORRADE_INTERNAL_ASSERT(dims.product() < 256); tex_.setWrapping(GL::SamplerWrapping::ClampToEdge) - .setMagnificationFilter(GL::SamplerFilter::Linear) + .setMagnificationFilter(GL::SamplerFilter::Nearest) .setMinificationFilter(GL::SamplerFilter::Linear) .setMaxAnisotropy(0) .setStorage(1, GL::textureFormat(image.format()), image.size()) -- cgit v1.2.3