Fix distance vector

This commit is contained in:
raven02 2015-11-28 13:17:29 +08:00
parent 51c3df1e2e
commit 44a1fa0c9c
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, ");