mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
metal: remove unused internal code
This commit is contained in:
@@ -130,11 +130,6 @@ static inline id<MTLTexture> getMTLTexture(love::graphics::Texture *tex)
|
||||
return tex ? (__bridge id<MTLTexture>)(void *) tex->getHandle() : nil;
|
||||
}
|
||||
|
||||
static inline id<MTLSamplerState> getMTLSampler(love::graphics::Texture *tex)
|
||||
{
|
||||
return tex ? (__bridge id<MTLSamplerState>)(void *) tex->getSamplerHandle() : nil;
|
||||
}
|
||||
|
||||
static inline id<MTLTexture> getMTLRenderTarget(love::graphics::Texture *tex)
|
||||
{
|
||||
return tex ? (__bridge id<MTLTexture>)(void *) tex->getRenderTargetHandle() : nil;
|
||||
|
||||
Reference in New Issue
Block a user