Merge pull request #474 from raven02/patch-1

Fix distance vector
This commit is contained in:
Ben Vanik 2015-11-27 21:19:17 -08:00
commit d557c7aa0c
1 changed files with 1 additions and 1 deletions

View File

@ -756,7 +756,7 @@ bool GL4ShaderTranslator::TranslateALU_DSTv(const ucode::instr_alu_t& alu) {
Append("vec4(1.0, (");
AppendVectorOpSrcReg(alu, 1);
Append(".y * ");
AppendVectorOpSrcReg(alu, 1);
AppendVectorOpSrcReg(alu, 2);
Append(".y), ");
AppendVectorOpSrcReg(alu, 1);
Append(".z, ");