diff --git a/src/modules/graphics/metal/Graphics.mm b/src/modules/graphics/metal/Graphics.mm index 4466eb51d..baf263867 100644 --- a/src/modules/graphics/metal/Graphics.mm +++ b/src/modules/graphics/metal/Graphics.mm @@ -130,11 +130,6 @@ static inline id getMTLTexture(love::graphics::Texture *tex) return tex ? (__bridge id)(void *) tex->getHandle() : nil; } -static inline id getMTLSampler(love::graphics::Texture *tex) -{ - return tex ? (__bridge id)(void *) tex->getSamplerHandle() : nil; -} - static inline id getMTLRenderTarget(love::graphics::Texture *tex) { return tex ? (__bridge id)(void *) tex->getRenderTargetHandle() : nil; diff --git a/src/modules/graphics/metal/Shader.mm b/src/modules/graphics/metal/Shader.mm index 7e8687e9f..2b8464db7 100644 --- a/src/modules/graphics/metal/Shader.mm +++ b/src/modules/graphics/metal/Shader.mm @@ -232,11 +232,6 @@ static inline id getMTLTexture(love::graphics::Buffer *buffer) return buffer ? (__bridge id)(void *) buffer->getTexelBufferHandle() : nil; } -static inline id getMTLSampler(love::graphics::Texture *tex) -{ - return tex ? (__bridge id)(void *) tex->getSamplerHandle() : nil; -} - static inline id getMTLBuffer(love::graphics::Buffer *buffer) { return buffer ? (__bridge id)(void *) buffer->getHandle() : nil;