summaryrefslogtreecommitdiffhomepage
path: root/src/tile-atlas.cpp
diff options
context:
space:
mode:
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)