summaryrefslogtreecommitdiffhomepage
path: root/src/tile-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-08 22:47:54 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-08 22:47:54 +0200
commitdcac3d7bd83c0cbdddae433e98598289bb1b06cd (patch)
tree114df5ec9abf642fbff8fc3d84722c151ac731de /src/tile-atlas.cpp
parentcaacf24af8a51807105cd35407201d525a4e59f4 (diff)
a
Diffstat (limited to 'src/tile-atlas.cpp')
-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 08bc2296..917c60bc 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(dims_[0] > 0 && dims_[1] > 0);
CORRADE_INTERNAL_ASSERT(size_ % dims_ == Vector2ui{});
CORRADE_INTERNAL_ASSERT(dims_.product() < 256);
- tex_.setWrapping(GL::SamplerWrapping::ClampToBorder)
+ tex_.setWrapping(GL::SamplerWrapping::ClampToEdge)
.setMagnificationFilter(GL::SamplerFilter::Nearest)
.setMinificationFilter(GL::SamplerFilter::Linear)
.setMaxAnisotropy(0)