Commit 2f51d691 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

winevulkan: Remove unnecessary cast from wine_vk_device_alloc_queues().

parent 6d475f15
......@@ -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);
/* 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment