wined3d: Submit the current command buffer in adapter_vk_flush_context().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2020-05-01 15:06:24 +04:30 committed by Alexandre Julliard
parent 5beefc63ba
commit 8319d154cc
1 changed files with 5 additions and 1 deletions

View File

@ -1493,7 +1493,11 @@ static void adapter_vk_destroy_query(struct wined3d_query *query)
static void adapter_vk_flush_context(struct wined3d_context *context)
{
TRACE("context %p.\n", context);
struct wined3d_context_vk *context_vk = wined3d_context_vk(context);
TRACE("context_vk %p.\n", context_vk);
wined3d_context_vk_submit_command_buffer(context_vk, 0, NULL, NULL, 0, NULL);
}
static void adapter_vk_draw_primitive(struct wined3d_device *device,