diff options
Diffstat (limited to 'src/vkvg_surface_internal.c')
| -rw-r--r-- | src/vkvg_surface_internal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vkvg_surface_internal.c b/src/vkvg_surface_internal.c index a8cc8ff..307845a 100644 --- a/src/vkvg_surface_internal.c +++ b/src/vkvg_surface_internal.c @@ -53,7 +53,7 @@ void _explicit_ms_resolve (VkvgSurface surf){ VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT); vkh_cmd_end (cmd); - _submit_cmd (dev, &cmd, dev->fence); + _submit_cmd (dev, &cmd, &dev->syncCtx); } void _clear_surface (VkvgSurface surf, VkImageAspectFlags aspect) @@ -101,7 +101,7 @@ void _clear_surface (VkvgSurface surf, VkImageAspectFlags aspect) } vkh_cmd_end (cmd); - _submit_cmd (dev, &cmd, dev->fence); + _submit_cmd (dev, &cmd, &dev->syncCtx); } void _create_surface_main_image (VkvgSurface surf){ |