Graphics/GuillotineTextureAtlas: Disable mipmaps for now
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user