From 14c9c7fffd5f6129b4eb8b9f3be04c67f71049a7 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Mon, 15 May 2023 19:02:17 +0200 Subject: [PATCH] Graphics/GuillotineTextureAtlas: Disable mipmaps for now --- src/Nazara/Graphics/GuillotineTextureAtlas.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nazara/Graphics/GuillotineTextureAtlas.cpp b/src/Nazara/Graphics/GuillotineTextureAtlas.cpp index 11122839e..e5dad07aa 100644 --- a/src/Nazara/Graphics/GuillotineTextureAtlas.cpp +++ b/src/Nazara/Graphics/GuillotineTextureAtlas.cpp @@ -42,6 +42,7 @@ namespace Nz textureInfo.pixelFormat = PixelFormat::R8; textureInfo.type = ImageType::E2D; textureInfo.usageFlags = TextureUsage::ShaderSampling | TextureUsage::TransferSource | TextureUsage::TransferDestination; + textureInfo.levelCount = 1; //< FIXME: Disable mipmaps for now std::shared_ptr newTexture; try