Skip to content

Commit

Permalink
Use new system handles setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans-Kristian Arntzen authored and m4xw committed Feb 22, 2021
1 parent 8f2df27 commit ee8144c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mupen64plus-video-paraLLEl/rdp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,15 @@ bool parallel_create_device(struct retro_vulkan_context *frontend_context, VkIns

::RDP::context.reset(new Vulkan::Context);

#if 0
::Vulkan::Context::SystemHandles handles;

if (const char *env = getenv("PARALLEL_RDP_TIMELINE_TRACE"))
{
::RDP::timeline_trace_file.reset(new Util::TimelineTraceFile(env));
::RDP::context->set_timeline_trace_file(::RDP::timeline_trace_file.get());
handles.timeline_trace_file = ::RDP::timeline_trace_file.get();
}
#endif

::RDP::context->set_system_handles(handles);

if (!::RDP::context->init_device_from_instance(
instance, gpu, surface, required_device_extensions, num_required_device_extensions,
Expand Down

0 comments on commit ee8144c

Please sign in to comment.