mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Compressed texture formats have explicit sRGB variants
This commit is contained in:
@@ -62,7 +62,7 @@ Texture::Texture(love::graphics::Graphics *gfxbase, id<MTLDevice> device, const
|
||||
desc.mipmapLevelCount = mipmapCount;
|
||||
desc.textureType = getMTLTextureType(texType, 1);
|
||||
|
||||
auto formatdesc = Metal::convertPixelFormat(device, format, sRGB);
|
||||
auto formatdesc = Metal::convertPixelFormat(device, format);
|
||||
desc.pixelFormat = formatdesc.format;
|
||||
if (formatdesc.swizzled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user