summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractTexture.cpp
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2023-11-27 00:18:22 +0100
committerGitHub <noreply@github.com>2023-11-27 00:18:22 +0100
commite8faad3ccc329ebc9a4c3161b5ca40bf295448ea (patch)
tree92500c0fea377fbc8fb1a7f436b7b209927fa2ab /Source/Core/VideoCommon/AbstractTexture.cpp
parent1a2d0882d04446550687424e36a81a2c16a6a00d (diff)
parentfb86c6342e02c7cdc297ecaa7f2eb365c846e741 (diff)
Merge pull request #12300 from iwubcode/dump_texture_free_function
VideoCommon: move texture dump to a free function
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp')
-rw-r--r--Source/Core/VideoCommon/AbstractTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AbstractTexture.cpp b/Source/Core/VideoCommon/AbstractTexture.cpp
index b706772a4f..416af06123 100644
--- a/Source/Core/VideoCommon/AbstractTexture.cpp
+++ b/Source/Core/VideoCommon/AbstractTexture.cpp
@@ -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