From ad6c01ef00f078bb5e396bd27135e7e352457fcf Mon Sep 17 00:00:00 2001 From: nicebyte <12521759+nicebyte@users.noreply.github.com> Date: Sun, 24 Dec 2023 18:31:24 +0000 Subject: [PATCH] [vk] remove unused variable in `ngf_begin_frame` --- source/ngf-vk/impl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/ngf-vk/impl.c b/source/ngf-vk/impl.c index c2dab02e..cecfebd4 100644 --- a/source/ngf-vk/impl.c +++ b/source/ngf-vk/impl.c @@ -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; @@ -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; }