diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-23 22:31:56 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-23 22:31:58 -0400 |
commit | 33e2033af5655d13eec57e17154fb831e14acd9b (patch) | |
tree | cc32b79b6a343598f4e9b4d8fdb0c4ae77728dee /src | |
parent | f6657bc8d78c19d41cf64e6c0086f862b4b9a515 (diff) |
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
This should be returning void, not a std::string
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 4e36b6de8..d125d5a20 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -750,8 +750,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('{'); |