Skip to content

Commit

Permalink
[vk] remove unused variable in ngf_begin_frame
Browse files Browse the repository at this point in the history
  • Loading branch information
nicebyte authored Dec 24, 2023
1 parent dbfdcfa commit ad6c01e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/ngf-vk/impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -4039,7 +4039,6 @@ ngf_error ngf_submit_cmd_buffers(uint32_t nbuffers, ngf_cmd_buffer* cmd_bufs) {

ngf_error ngf_begin_frame(ngf_frame_token* token) {
ngf_error err = NGF_ERROR_OK;
static int ix = 0u;

// increment frame id.
const uint32_t fi = (CURRENT_CONTEXT->frame_id + 1u) % CURRENT_CONTEXT->max_inflight_frames;
Expand Down Expand Up @@ -4081,7 +4080,6 @@ ngf_error ngf_begin_frame(ngf_frame_token* token) {
(uint8_t)CURRENT_CONTEXT->frame_id);

*token = CURRENT_CONTEXT->current_frame_token;
++ix;
return err;
}

Expand Down

0 comments on commit ad6c01e

Please sign in to comment.