Skip to content

Commit

Permalink
Merge branch 'main' of ssh://github.com/Kode/Kinc
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Jan 25, 2024
2 parents 0e94856 + 70b5772 commit 2003765
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,13 @@ void kinc_g5_index_buffer_init(kinc_g5_index_buffer_t *buffer, int count, kinc_g
}

void kinc_g5_index_buffer_destroy(kinc_g5_index_buffer_t *buffer) {
buffer->impl.index_buffer->Release();
if (buffer->impl.index_buffer != NULL) {
buffer->impl.index_buffer->Release();
buffer->impl.index_buffer = NULL;
}

buffer->impl.upload_buffer->Release();
buffer->impl.upload_buffer = NULL;
}

static int kinc_g5_internal_index_buffer_stride(kinc_g5_index_buffer_t *buffer) {
Expand Down
2 changes: 1 addition & 1 deletion Tools/linux_arm
Submodule linux_arm updated 1 files
+ krafix
2 changes: 1 addition & 1 deletion Tools/linux_arm64
Submodule linux_arm64 updated 1 files
+ krafix
2 changes: 1 addition & 1 deletion Tools/linux_x64
Submodule linux_x64 updated 1 files
+ krafix
2 changes: 1 addition & 1 deletion Tools/macos
Submodule macos updated 1 files
+ krafix
2 changes: 1 addition & 1 deletion Tools/windows_x64
Submodule windows_x64 updated 1 files
+ krafix.exe

0 comments on commit 2003765

Please sign in to comment.