From: Jean-Philippe Bruyère Date: Mon, 21 Mar 2022 11:54:03 +0000 (+0100) Subject: debug ctx->timelineStep only if timeline semaphore enabled X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=d21f96dc6687f53c86ac98210019b25184d13628;p=jp%2Fvkvg.git debug ctx->timelineStep only if timeline semaphore enabled --- 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)