diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2019-12-30 10:59:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-30 10:59:14 +0100 |
| commit | 7a6a4510f6eed48652200f8c83e79723ae3581f2 (patch) | |
| tree | 6abb193c5bb8ef35b627d023648b18a11a16eddc /Source/Core/VideoCommon/TextureConversionShader.cpp | |
| parent | 084344aa5d9a39fc05cfe952005e530766c3c29c (diff) | |
| parent | 11339d77c6835dd908b86a92412686c46435e006 (diff) | |
Merge pull request #8362 from GerbilSoft/feature/string-optimizations.2019-09-11
Various string and other optimizations
Diffstat (limited to 'Source/Core/VideoCommon/TextureConversionShader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureConversionShader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureConversionShader.cpp b/Source/Core/VideoCommon/TextureConversionShader.cpp index 9348413fd1..5862d45ac7 100644 --- a/Source/Core/VideoCommon/TextureConversionShader.cpp +++ b/Source/Core/VideoCommon/TextureConversionShader.cpp @@ -1392,7 +1392,7 @@ std::string GenerateDecodingShader(TextureFormat format, TLUTFormat palette_form if (!info) return ""; - std::stringstream ss; + std::ostringstream ss; switch (palette_format) { case TLUTFormat::IA8: @@ -1414,7 +1414,7 @@ std::string GenerateDecodingShader(TextureFormat format, TLUTFormat palette_form std::string GeneratePaletteConversionShader(TLUTFormat palette_format, APIType api_type) { - std::stringstream ss; + std::ostringstream ss; ss << R"( int Convert3To8(int v) |
