winevulkan: Remove unnecessary cast from wine_vk_device_alloc_queues().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2018-03-16 16:30:42 +01:00 committed by Alexandre Julliard
parent 6d475f150d
commit 2f51d691f4
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ static struct VkQueue_T *wine_vk_device_alloc_queues(struct VkDevice_T *device,
device->funcs.p_vkGetDeviceQueue(device->device, family_index, i, &queue->queue); device->funcs.p_vkGetDeviceQueue(device->device, family_index, i, &queue->queue);
/* Set special header for ICD loader. */ /* Set special header for ICD loader. */
((struct wine_vk_base *)queue)->loader_magic = VULKAN_ICD_MAGIC_VALUE; queue->base.loader_magic = VULKAN_ICD_MAGIC_VALUE;
} }
return queues; return queues;