projects
/
vkrt
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0df4d53
)
fixed invalid pointer error
author
Eleni Maria Stea
<elene.mst@gmail.com>
Mon, 22 Nov 2021 07:17:53 +0000
(09:17 +0200)
committer
Eleni Maria Stea
<elene.mst@gmail.com>
Mon, 22 Nov 2021 07:17:53 +0000
(09:17 +0200)
src/vk.c
patch
|
blob
|
history
diff --git
a/src/vk.c
b/src/vk.c
index
d6ce1f0
..
546f283
100644
(file)
--- a/
src/vk.c
+++ b/
src/vk.c
@@
-1923,7
+1923,7
@@
vk_record_cmd_buffer(struct vk_ctx *ctx,
if (has_geometry && renderer->geometry->vertices.num_vertices > 0) {
num_vertices = renderer->geometry->vertices.num_vertices;
- vkCmdBindVertexBuffers(cmd_buf, 0, 1, &renderer->geometry->vertices.vbo, offsets);
+ vkCmdBindVertexBuffers(cmd_buf, 0, 1, &renderer->geometry->vertices.vbo.buf, offsets);
}
vkCmdBindPipeline(cmd_buf, VK_PIPELINE_BIND_POINT_GRAPHICS,