mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
parent
f0c27af357
commit
29f954be0a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user