mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
metal: improve detection of rgba32f format filter and MSAA support.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user