summaryrefslogtreecommitdiffhomepage
path: root/atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-02-19 18:02:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-02-19 18:02:34 +0100
commit241d6bf6f4414cb5238d0193014b653a50e0fe64 (patch)
treee21f6b1683e58dfcb78f2432c6dfb4fb121ebb29 /atlas.cpp
parent932ee8367c7e5641b7bdcd495e7f92429c516021 (diff)
flush
Diffstat (limited to 'atlas.cpp')
-rw-r--r--atlas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/atlas.cpp b/atlas.cpp
index 932e8c32..4e384540 100644
--- a/atlas.cpp
+++ b/atlas.cpp
@@ -13,7 +13,7 @@ atlas_texture::atlas_texture(const Trade::ImageData2D& image, Vector2i dims) :
CORRADE_INTERNAL_ASSERT(tile_size_ * dims_ == size_);
CORRADE_INTERNAL_ASSERT(size_ % dims_ == Vector2i{});
tex_.setWrapping(GL::SamplerWrapping::ClampToEdge)
- .setMagnificationFilter(GL::SamplerFilter::Nearest)
+ .setMagnificationFilter(GL::SamplerFilter::Linear)
.setMinificationFilter(GL::SamplerFilter::Linear)
.setStorage(1, GL::textureFormat(image.format()), image.size())
.setSubImage(0, {}, image);