1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-24 13:06:29 -05:00

gl_shader_decompiler: Correct return value of WriteTexsInstruction()

This should be returning void, not a std::string
This commit is contained in:
Lioncash
2018-07-23 22:31:56 -04:00
parent f6657bc8d7
commit 33e2033af5

View File

@@ -750,7 +750,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.