michaeleggers/vkal

Offset computation for default buffers

Closed this issue · 0 comments

When using the default buffers for vertex, index and other data the offset into the global buffer is computet so that memory is wasted.
I changed this in vkal_create_uniform_buffer. This uses a better offset computation method! Change the vertex/index/... -buffer creation to follow the same computation!