mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
need to use sizeof(TransformType), not sizeof(mat4)
This commit is contained in:
parent
b8c88fca3b
commit
fac0982c67
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ void ModelMeshPartPayload::updateClusterBuffer(const std::vector<TransformType>&
|
|||
(const gpu::Byte*) clusterTransforms.data());
|
||||
}
|
||||
else {
|
||||
_clusterBuffer->setSubData(0, clusterTransforms.size() * sizeof(glm::mat4),
|
||||
_clusterBuffer->setSubData(0, clusterTransforms.size() * sizeof(TransformType),
|
||||
(const gpu::Byte*) clusterTransforms.data());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue