Skip to content
Snippets Groups Projects
Unverified Commit 92304181 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #792 from lioncash/retval

gl_shader_decompiler: Correct return value of WriteTexsInstruction()
parents 47ac3691 33e2033a
No related branches found
No related tags found
No related merge requests found
......@@ -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('{');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment