mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +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;
|
||||
|
||||
@@ -232,11 +232,6 @@ static inline id<MTLTexture> getMTLTexture(love::graphics::Buffer *buffer)
|
||||
return buffer ? (__bridge id<MTLTexture>)(void *) buffer->getTexelBufferHandle() : nil;
|
||||
}
|
||||
|
||||
static inline id<MTLSamplerState> getMTLSampler(love::graphics::Texture *tex)
|
||||
{
|
||||
return tex ? (__bridge id<MTLSamplerState>)(void *) tex->getSamplerHandle() : nil;
|
||||
}
|
||||
|
||||
static inline id<MTLBuffer> getMTLBuffer(love::graphics::Buffer *buffer)
|
||||
{
|
||||
return buffer ? (__bridge id<MTLBuffer>)(void *) buffer->getHandle() : nil;
|
||||
|
||||
Reference in New Issue
Block a user