diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-03-21 12:54:03 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-03-21 12:54:03 +0100 |
| commit | d21f96dc6687f53c86ac98210019b25184d13628 (patch) | |
| tree | 1a100ad9ae39a99014ee0945507ba89cc0e3d1c8 | |
| parent | ddfb4a23596584f254275099acbd829c5a4305f1 (diff) | |
debug ctx->timelineStep only if timeline semaphore enabled
| -rw-r--r-- | src/vkvg_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |