mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
AbstractTexture: Seperate CopyRectangleFromTexture to two methods
ScaleRectangleFromTexture, which does a draw, and CopyRectangleFromTexture, which where possible, does a bit-for-bit copy.
This commit is contained in:
parent
f43d85921d
commit
56afebeb44
13 changed files with 188 additions and 107 deletions
|
@ -733,8 +733,8 @@ void Renderer::UpdateFrameDumpTexture()
|
|||
config.rendertarget = true;
|
||||
m_dump_texture = CreateTexture(config);
|
||||
}
|
||||
m_dump_texture->CopyRectangleFromTexture(m_last_xfb_texture, m_last_xfb_region,
|
||||
EFBRectangle{0, 0, target_width, target_height});
|
||||
m_dump_texture->CopyRectangleFromTexture(m_last_xfb_texture, m_last_xfb_region, 0, 0,
|
||||
EFBRectangle{0, 0, target_width, target_height}, 0, 0);
|
||||
}
|
||||
|
||||
void Renderer::ShutdownFrameDumping()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue