From d8874ad6c42ec016fa931fe3e57fcd9797d06094 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 15 Oct 2022 12:35:53 +0200 Subject: a --- src/tile-atlas.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tile-atlas.cpp b/src/tile-atlas.cpp index 65e81053..ea5a7791 100644 --- a/src/tile-atlas.cpp +++ b/src/tile-atlas.cpp @@ -1,6 +1,7 @@ #include "tile-atlas.hpp" #include "compat/assert.hpp" #include +#include #include #include @@ -18,6 +19,7 @@ tile_atlas::tile_atlas(Containers::StringView name, const ImageView2D& image, Ve .setMagnificationFilter(GL::SamplerFilter::Linear) .setMinificationFilter(GL::SamplerFilter::Linear) .setMaxAnisotropy(1) + .setBorderColor(Color4{1, 0, 0, 1}) .setStorage(GL::textureFormat(image.format()), image.size()) .setSubImage({}, image); } -- cgit v1.2.3