From d21f96dc6687f53c86ac98210019b25184d13628 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Mon, 21 Mar 2022 12:54:03 +0100 Subject: [PATCH] debug ctx->timelineStep only if timeline semaphore enabled --- src/vkvg_context.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vkvg_context.c b/src/vkvg_context.c index a6d4423..1fd8078 100644 --- a/src/vkvg_context.c +++ b/src/vkvg_context.c @@ -83,7 +83,9 @@ void _init_ctx (VkvgContext ctx) { ctx->cmdStarted = false; ctx->curClipState = vkvg_clip_state_none; ctx->vertCount = ctx->indCount = 0; +#ifdef VKVG_ENABLE_VK_TIMELINE_SEMAPHORE ctx->timelineStep = 0; +#endif } VkvgContext vkvg_create(VkvgSurface surf) -- 2.47.3