mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Address cauterized cluster matrices issue
This commit is contained in:
parent
5ca3113709
commit
6481e0f713
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ void CauterizedMeshPartPayload::updateClusterBuffer(const std::vector<glm::mat4>
|
|||
(const gpu::Byte*) cauterizedClusterMatrices.data());
|
||||
}
|
||||
else {
|
||||
_cauterizedClusterBuffer->setSubData(0, clusterMatrices.size() * sizeof(glm::mat4),
|
||||
(const gpu::Byte*) clusterMatrices.data());
|
||||
_cauterizedClusterBuffer->setSubData(0, cauterizedClusterMatrices.size() * sizeof(glm::mat4),
|
||||
(const gpu::Byte*) cauterizedClusterMatrices.data());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue