metal: improve detection of rgba32f format filter and MSAA support.

This commit is contained in:
Alex Szpakowski
2022-01-23 11:28:09 -04:00
parent 6dbb7fa5de
commit a5351e5046
2 changed files with 26 additions and 9 deletions
-1
View File
@@ -94,7 +94,6 @@ Texture::Texture(love::graphics::Graphics *gfxbase, id<MTLDevice> device, const
desc.textureType = getMTLTextureType(texType, actualMSAASamples);
desc.usage &= ~MTLTextureUsageShaderRead;
// TODO: This needs to be cleared, etc.
msaaTexture = [device newTextureWithDescriptor:desc];
if (msaaTexture == nil)
{