parent
17e74658f7
commit
4b47a1ccca
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ public:
|
|||
VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT,
|
||||
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
|
||||
&cube.uniformBuffer,
|
||||
sizeof(glm::mat4)));
|
||||
sizeof(Cube::Matrices)));
|
||||
VK_CHECK_RESULT(cube.uniformBuffer.map());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue