Browse Source
Merge pull request #792 from lioncash/retval
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
pull/15/merge
bunnei
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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('{'); |
|
|
|
|