Commit ff098296 authored by Hans-Kristian Arntzen's avatar Hans-Kristian Arntzen
Browse files

parallel-rdp: Fix integration API.

parent 56e0d29c
......@@ -466,10 +466,10 @@ bool parallel_create_device(struct retro_vulkan_context *frontend_context, VkIns
frontend_context->gpu = ::RDP::context->get_gpu();
frontend_context->device = ::RDP::context->get_device();
frontend_context->queue = ::RDP::context->get_graphics_queue();
frontend_context->queue_family_index = ::RDP::context->get_graphics_queue_family();
frontend_context->presentation_queue = ::RDP::context->get_graphics_queue();
frontend_context->presentation_queue_family_index = ::RDP::context->get_graphics_queue_family();
frontend_context->queue = ::RDP::context->get_queue_info().queues[Vulkan::QUEUE_INDEX_GRAPHICS];
frontend_context->queue_family_index = ::RDP::context->get_queue_info().family_indices[Vulkan::QUEUE_INDEX_GRAPHICS];
frontend_context->presentation_queue = ::RDP::context->get_queue_info().queues[Vulkan::QUEUE_INDEX_GRAPHICS];
frontend_context->presentation_queue_family_index = ::RDP::context->get_queue_info().family_indices[Vulkan::QUEUE_INDEX_GRAPHICS];
// Frontend owns the device.
::RDP::context->release_device();
......
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