Set rows/columns to 0 when members[] contains array values

This commit is contained in:
baldurk
2014-08-18 11:18:53 +01:00
parent 61eba9a460
commit 24ae01a3f7
+2
View File
@@ -1231,6 +1231,7 @@ void GLReplay::FillCBufferVariables(WrappedOpenGL &gl, GLuint prog, bool bufferB
arrelems.push_back(arrEl);
}
var.members = arrelems;
var.rows = var.columns = 0;
}
}
else
@@ -1280,6 +1281,7 @@ void GLReplay::FillCBufferVariables(WrappedOpenGL &gl, GLuint prog, bool bufferB
}
var.members = elems;
var.rows = var.columns = 0;
}
}
}