]> O.S.I.I.S - jp/vkvg.git/commitdiff
execute cmd for clearing stencil imediatly
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Tue, 30 Apr 2019 20:41:30 +0000 (22:41 +0200)
committerj-p <jp_bruyere@hotmail.com>
Wed, 1 May 2019 12:47:26 +0000 (14:47 +0200)
src/vkvg_context.c

index 03a2a467106cec4b5ea24770e5f022efd5f48d5d..8558e79331ec2075270cacbd7be6ee1cf906a0fd 100644 (file)
@@ -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;