1
0
Fork 0
forked from suyu/suyu

Merge pull request #792 from lioncash/retval

gl_shader_decompiler: Correct return value of WriteTexsInstruction()
This commit is contained in:
bunnei 2018-07-23 20:06:48 -07:00 committed by GitHub
commit 92304181d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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