From c46150348c0d354fd8381c860c047149dd6bfaf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Tue, 30 Apr 2019 22:41:30 +0200 Subject: [PATCH] execute cmd for clearing stencil imediatly --- src/vkvg_context.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vkvg_context.c b/src/vkvg_context.c index 03a2a46..8558e79 100644 --- a/src/vkvg_context.c +++ b/src/vkvg_context.c @@ -98,7 +98,10 @@ VkvgContext vkvg_create(VkvgSurface surf) _init_cmd_buff (ctx); _clear_path (ctx); + vkvg_reset_clip (ctx); + vkh_cmd_end (ctx->cmd); + _submit_wait_and_reset_cmd(ctx); ctx->references = 1; ctx->status = VKVG_STATUS_SUCCESS; -- 2.47.3