Merge pull request #792 from lioncash/retval
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
This commit is contained in:
commit
92304181d5
|
@ -756,7 +756,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
std::string WriteTexsInstruction(const Instruction& instr, const std::string& coord,
|
||||
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.
|
||||
|
|
Reference in New Issue