summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-06 10:04:45 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-06 10:04:45 +0200
commit896e072d8bd94020c883e994451b86675ecdced7 (patch)
tree3f49b29eb5f89839757ed90543c7ff3227f5335c /src
parent3b53f052915e77356ff4832b1db3b729a0fba765 (diff)
a
Diffstat (limited to 'src')
-rw-r--r--src/tile-atlas.cpp2
1 files changed, 1 insertions, 1 deletions
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())