mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
metal: don't try to autogenerate depth mips, that isn't supported
This commit is contained in:
@@ -958,10 +958,6 @@ void Graphics::endPass()
|
||||
if (rt.texture->getMipmapsMode() == Texture::MIPMAPS_AUTO && rt.mipmap == 0)
|
||||
rt.texture->generateMipmaps();
|
||||
}
|
||||
|
||||
int dsmipmap = rts.depthStencil.mipmap;
|
||||
if (depthstencil != nullptr && depthstencil->getMipmapsMode() == Texture::MIPMAPS_AUTO && dsmipmap == 0)
|
||||
depthstencil->generateMipmaps();
|
||||
}
|
||||
|
||||
void Graphics::clear(OptionalColorf c, OptionalInt stencil, OptionalDouble depth)
|
||||
|
||||
Reference in New Issue
Block a user