diff options
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: | |||
| 750 | } | 750 | } |
| 751 | } | 751 | } |
| 752 | 752 | ||
| 753 | std::string WriteTexsInstruction(const Instruction& instr, const std::string& coord, | 753 | void WriteTexsInstruction(const Instruction& instr, const std::string& coord, |
| 754 | const std::string& texture) { | 754 | const std::string& texture) { |
| 755 | // Add an extra scope and declare the texture coords inside to prevent | 755 | // Add an extra scope and declare the texture coords inside to prevent |
| 756 | // overwriting them in case they are used as outputs of the texs instruction. | 756 | // overwriting them in case they are used as outputs of the texs instruction. |
| 757 | shader.AddLine('{'); | 757 | shader.AddLine('{'); |