mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-30 16:28:35 +00:00
VideoCommon: Move abstract texture creation function to Renderer
This commit is contained in:
parent
5860c97144
commit
49a9c33bd7
24 changed files with 49 additions and 36 deletions
|
@ -731,7 +731,7 @@ void Renderer::UpdateFrameDumpTexture()
|
|||
config.width = target_width;
|
||||
config.height = target_height;
|
||||
config.rendertarget = true;
|
||||
m_dump_texture = g_texture_cache->CreateTexture(config);
|
||||
m_dump_texture = CreateTexture(config);
|
||||
}
|
||||
m_dump_texture->CopyRectangleFromTexture(m_last_xfb_texture, m_last_xfb_region,
|
||||
EFBRectangle{0, 0, target_width, target_height});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue