summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ImageWrite.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/ImageWrite.h')
-rw-r--r--Source/Core/VideoCommon/ImageWrite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ImageWrite.h b/Source/Core/VideoCommon/ImageWrite.h
index 5df630651a..b46dc1376f 100644
--- a/Source/Core/VideoCommon/ImageWrite.h
+++ b/Source/Core/VideoCommon/ImageWrite.h
@@ -7,4 +7,4 @@
#include "Common/Common.h"
bool SaveData(const char* filename, const char* pdata);
-bool TextureToPng(u8* data, int row_stride, const std::string filename, int width, int height, bool saveAlpha = true);
+bool TextureToPng(u8* data, int row_stride, const std::string& filename, int width, int height, bool saveAlpha = true);