diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2022-08-04 23:35:13 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2022-08-04 23:35:13 +0200 |
| commit | 8279a357f6f35d58a4c81d84c3c44a7da687b170 (patch) | |
| tree | 20e4dae3824bb485e34a43e44f6e468ed0afffd0 /include/primitive-renderpass.hpp | |
| parent | 969dd101a08997dc318207b6994201d5161d0bd3 (diff) | |
Fix most warnings
Diffstat (limited to 'include/primitive-renderpass.hpp')
| -rw-r--r-- | include/primitive-renderpass.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/primitive-renderpass.hpp b/include/primitive-renderpass.hpp index 8dda772..4d90d3c 100644 --- a/include/primitive-renderpass.hpp +++ b/include/primitive-renderpass.hpp @@ -68,7 +68,7 @@ class Primitive { void set_scissor(int32_t x, int32_t y, uint32_t width, uint32_t height); - void set_draw_info(size_t vertex_count, off_t first_vertex, off_t vertex_offset); + void set_draw_info(size_t vertex_count, off_t indices_off, off_t vertex_off); void render(VkCommandBuffer command_buffer); @@ -84,7 +84,7 @@ private: Buffer* index_buffer; size_t element_count; - off_t first_vertex; + off_t indices_offset; off_t vertex_offset; off_t constant_offset; |
