mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Move internal auto-generation for canvas mipmaps to high level code.
This commit is contained in:
@@ -1528,12 +1528,6 @@ void Graphics::endPass(bool presenting)
|
||||
}
|
||||
|
||||
submitRenderEncoder(SUBMIT_DONE);
|
||||
|
||||
for (const auto &rt : rts.colors)
|
||||
{
|
||||
if (rt.texture->getMipmapsMode() == Texture::MIPMAPS_AUTO && rt.mipmap == 0)
|
||||
rt.texture->generateMipmaps();
|
||||
}
|
||||
}
|
||||
|
||||
void Graphics::clear(OptionalColorD c, OptionalInt stencil, OptionalDouble depth)
|
||||
|
||||
Reference in New Issue
Block a user