Skip to content

Commit 5a301fb

Browse files
committed
Fix 13
1 parent b978011 commit 5a301fb

File tree

1 file changed

+1
-1
lines changed
  • 13_generate_mipmaps/sources

1 file changed

+1
-1
lines changed

13_generate_mipmaps/sources/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static void update(void *data) {
116116

117117
kong_set_vertex_buffer_fs_vertex_in(&list, &vertices_fs);
118118

119-
kore_gpu_command_list_set_index_buffer(&list, &indices, KORE_GPU_INDEX_FORMAT_UINT16, 0, 3 * sizeof(uint16_t));
119+
kore_gpu_command_list_set_index_buffer(&list, &indices, KORE_GPU_INDEX_FORMAT_UINT16, 0);
120120

121121
kore_gpu_command_list_draw_indexed(&list, 3, 1, 0, 0, 0);
122122

0 commit comments

Comments
 (0)