From 29f954be0a14a48c915a586afc1d7464da979ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Wed, 15 Aug 2018 13:57:50 +0200 Subject: [PATCH] libs/vkd3d: Assert that queue is valid in vkd3d_queue_acquire(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Józef Kucia Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- libs/vkd3d/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 4db9967e..4536264a 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -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; }