Graphics/GuillotineTextureAtlas: Disable mipmaps for now
This commit is contained in:
parent
34b8bb5d65
commit
14c9c7fffd
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue