generalize buffer size
This commit is contained in:
parent
4f2ab52fa7
commit
d4688d03a5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ uploadMesh
|
|||
uploadMesh vertices allocator = do
|
||||
let bufferCreateInfo = Vk.zero
|
||||
{ Vk.size = fromIntegral $
|
||||
V.length loadMeshes * sizeOf (Vertex (V3 0 0 0) (V3 0 0 0 ) (V4 0 0 0 0))
|
||||
V.length vertices * sizeOf (Vertex (V3 0 0 0) (V3 0 0 0 ) (V4 0 0 0 0))
|
||||
, Vk.usage = Vk.BUFFER_USAGE_VERTEX_BUFFER_BIT
|
||||
}
|
||||
allocationCreateInfo = Vk.zero
|
||||
|
|
Loading…
Reference in a new issue