Address cauterized cluster matrices issue

This commit is contained in:
samcake 2017-11-07 12:52:23 -08:00
parent 5ca3113709
commit 6481e0f713

View file

@ -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());
}
}
}