mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06: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:
@ -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
|
||||
|
Reference in New Issue
Block a user