diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-24 05:06:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 05:06:48 +0200 |
commit | 92304181d5551108d8eac6e1d2c8294ee6378c11 (patch) | |
tree | cb5bbe28f08958e83c309e492178209376318ac7 /src | |
parent | Merge pull request #790 from bunnei/shader-print-instr (diff) | |
parent | gl_shader_decompiler: Correct return value of WriteTexsInstruction() (diff) | |
download | yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.tar yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.tar.gz yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.tar.bz2 yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.tar.lz yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.tar.xz yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.tar.zst yuzu-92304181d5551108d8eac6e1d2c8294ee6378c11.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index d4b1a6f33..acf067050 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -756,8 +756,8 @@ private: } } - std::string WriteTexsInstruction(const Instruction& instr, const std::string& coord, - const std::string& texture) { + void WriteTexsInstruction(const Instruction& instr, const std::string& coord, + const std::string& texture) { // Add an extra scope and declare the texture coords inside to prevent // overwriting them in case they are used as outputs of the texs instruction. shader.AddLine('{'); |