Graphics/GuillotineTextureAtlas: Disable mipmaps for now

This commit is contained in:
SirLynix
2023-05-15 19:02:17 +02:00
parent 34b8bb5d65
commit 14c9c7fffd

View File

@@ -42,6 +42,7 @@ namespace Nz
textureInfo.pixelFormat = PixelFormat::R8; textureInfo.pixelFormat = PixelFormat::R8;
textureInfo.type = ImageType::E2D; textureInfo.type = ImageType::E2D;
textureInfo.usageFlags = TextureUsage::ShaderSampling | TextureUsage::TransferSource | TextureUsage::TransferDestination; textureInfo.usageFlags = TextureUsage::ShaderSampling | TextureUsage::TransferSource | TextureUsage::TransferDestination;
textureInfo.levelCount = 1; //< FIXME: Disable mipmaps for now
std::shared_ptr<Texture> newTexture; std::shared_ptr<Texture> newTexture;
try try