summaryrefslogtreecommitdiffstats
path: root/src/TextureAtlas.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2021-12-25 07:50:14 +0100
committerGitHub <noreply@github.com>2021-12-25 07:50:14 +0100
commit7ebc8e1bd33b6658b50153a26945814a87fba5f4 (patch)
tree51d377a4560a7e12b3b404b0b043d9f64981caf3 /src/TextureAtlas.cpp
parentMerge pull request #77 from LaG1924/ftr/graphics-abstraction-layer (diff)
parentAdded smooth lighting settings parameter (diff)
downloadAltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.gz
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.bz2
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.lz
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.xz
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.zst
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.zip
Diffstat (limited to 'src/TextureAtlas.cpp')
-rw-r--r--src/TextureAtlas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/TextureAtlas.cpp b/src/TextureAtlas.cpp
index 7e44a86..9ad018e 100644
--- a/src/TextureAtlas.cpp
+++ b/src/TextureAtlas.cpp
@@ -89,6 +89,7 @@ TextureAtlas::TextureAtlas(std::vector<TextureData> &textures) {
texConfig->SetWrapping(Gal::Wrapping::Clamp);
texConfig->SetMinFilter(Gal::Filtering::Nearest);
texConfig->SetMaxFilter(Gal::Filtering::Nearest);
+ texConfig->SetLinear(false);
texture = gal->BuildTexture(texConfig);