mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Display on which port we are listening for a remote access connection.
Knowing the port is needed for doing: adb forward tcp:38920 tcp:38920
This commit is contained in:
@@ -622,7 +622,14 @@ VkResult WrappedVulkan::vkQueuePresentKHR(VkQueue queue, const VkPresentInfoKHR
|
||||
if(RenderDoc::Inst().IsRemoteAccessConnected())
|
||||
overlayText += "Connected by " + RenderDoc::Inst().GetRemoteAccessUsername() + ".";
|
||||
else
|
||||
overlayText += "No remote access connection.";
|
||||
{
|
||||
uint32_t port = RenderDoc::Inst().GetRemoteAccessIdent();
|
||||
if(port)
|
||||
overlayText +=
|
||||
StringFormat::Fmt("Listening for remote access connection on port %i.", port);
|
||||
else
|
||||
overlayText += "No remote access socket.";
|
||||
}
|
||||
}
|
||||
|
||||
if(overlay & eRENDERDOC_Overlay_FrameNumber)
|
||||
|
||||
Reference in New Issue
Block a user