clean up texture copy code

This commit is contained in:
Samuliak 2024-07-08 17:17:55 +02:00
parent d80ddafb24
commit 48e538e89e
2 changed files with 31 additions and 52 deletions

View file

@ -184,4 +184,5 @@ class RendererMTL final : public Renderer {
void setupTextureEnvState(MTL::RenderCommandEncoder* encoder);
void bindTexturesToSlots(MTL::RenderCommandEncoder* encoder);
void updateLightingLUT(MTL::RenderCommandEncoder* encoder);
void textureCopyImpl(Metal::ColorRenderTarget& srcFramebuffer, Metal::ColorRenderTarget& destFramebuffer, const Math::Rect<u32>& srcRect, const Math::Rect<u32>& destRect);
};