libs/vkd3d: Assert that queue is valid in vkd3d_queue_acquire().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-08-15 13:57:50 +02:00 committed by Alexandre Julliard
parent f0c27af357
commit 29f954be0a

View File

@ -66,6 +66,7 @@ static VkQueue vkd3d_queue_acquire(struct vkd3d_queue *queue)
return VK_NULL_HANDLE;
}
assert(queue->vk_queue);
return queue->vk_queue;
}