Why isnt this working....

This commit is contained in:
Dynamitos committed 2023-11-13 13:23:16 +01:00
1 parent a545426b32
commit 9a26fd75ca
6 files changed
+8 -10

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ void VertexData::updateMesh(const Component::Transform& transform, PMesh mesh)
matInstanceData.meshes.add(MeshInstanceData{
.id = mesh->id,
.instance = InstanceData {
.transformMatrix = Matrix4(1),//transform.toMatrix(),
.transformMatrix = transform.toMatrix(),
},
.indexBuffer = mesh->indexBuffer,
});
-1
View File
@@ -16,7 +16,6 @@ Semaphore::Semaphore(PGraphics graphics)
Semaphore::~Semaphore()
{
graphics = nullptr;
vkDestroySemaphore(graphics->getDevice(), handle, nullptr);
}