Fix wrong value index being used

This commit is contained in:
baldurk
2014-08-13 17:01:16 +01:00
parent 6a6aa9b446
commit cb89bc5891
+1 -1
View File
@@ -610,7 +610,7 @@ void MakeShaderReflection(const GLHookSet &gl, GLenum shadType, GLuint sepProg,
if(values[5] == -1 && values[2] >= 0)
{
var.reg.vec = values[3];
var.reg.vec = values[2];
var.reg.comp = 0;
}
else if(values[5] >= 0)