Rename replay host to remote server, consistently.

This commit is contained in:
baldurk
2016-08-01 19:38:21 +02:00
parent 3655f0610d
commit 39f453b166
7 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -60,7 +60,7 @@ namespace renderdoc
private static extern void RENDERDOC_GetDefaultCaptureOptions(IntPtr outopts);
[DllImport("renderdoc.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
private static extern void RENDERDOC_SpawnReplayHost(IntPtr host, UInt32 port, ref bool killReplay);
private static extern void RENDERDOC_BecomeRemoteServer(IntPtr host, UInt32 port, ref bool killReplay);
[DllImport("renderdoc.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)]
private static extern void RENDERDOC_TriggerExceptionHandler(IntPtr exceptionPtrs, bool crashed);
@@ -222,11 +222,11 @@ namespace renderdoc
return new RemoteRenderer(rendPtr);
}
public static void SpawnReplayHost(string host, uint port, ref bool killReplay)
public static void BecomeRemoteServer(string host, uint port, ref bool killReplay)
{
IntPtr host_mem = CustomMarshal.MakeUTF8String(host);
RENDERDOC_SpawnReplayHost(host_mem, port, ref killReplay);
RENDERDOC_BecomeRemoteServer(host_mem, port, ref killReplay);
CustomMarshal.Free(host_mem);
}
+1 -1
View File
@@ -1498,7 +1498,7 @@ namespace renderdocui.Windows
Thread thread = Helpers.NewThread(new ThreadStart(() =>
{
StaticExports.SpawnReplayHost("", 0, ref killReplay);
StaticExports.BecomeRemoteServer("", 0, ref killReplay);
}));
thread.Start();