mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoCommon: move texture dump function out of texture cache to its own free function so it can be used elsewhere. Doing this change may also slightly improve performance of this operation
This commit is contained in:
parent
1a2d0882d0
commit
fb86c6342e
8 changed files with 76 additions and 40 deletions
|
@ -19,7 +19,7 @@ void AbstractTexture::FinishedRendering()
|
|||
{
|
||||
}
|
||||
|
||||
bool AbstractTexture::Save(const std::string& filename, unsigned int level, int compression)
|
||||
bool AbstractTexture::Save(const std::string& filename, unsigned int level, int compression) const
|
||||
{
|
||||
// We can't dump compressed textures currently (it would mean drawing them to a RGBA8
|
||||
// framebuffer, and saving that). TextureCache does not call Save for custom textures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue