mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
This should be returning void, not a std::string
This commit is contained in:
parent
f6657bc8d7
commit
33e2033af5
1 changed files with 2 additions and 2 deletions
|
@ -750,8 +750,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('{');
|
||||||
|
|
Loading…
Reference in a new issue