From: Jean-Philippe Bruyère Date: Tue, 30 Apr 2019 20:41:30 +0000 (+0200) Subject: execute cmd for clearing stencil imediatly X-Git-Tag: v0.1-alpha~87 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=c46150348c0d354fd8381c860c047149dd6bfaf0;p=jp%2Fvkvg.git execute cmd for clearing stencil imediatly --- 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;