mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-23 10:20:50 +00:00
Fetch packets outside of replay proxy, so we can serve other commands
This commit is contained in:
@@ -308,8 +308,19 @@ void RenderDoc::BecomeRemoteServer(const char *listenhost, uint16_t port, volati
|
||||
|
||||
while(client)
|
||||
{
|
||||
if(!proxy->Tick() || killReplay)
|
||||
int packet;
|
||||
Serialiser *data = NULL;
|
||||
|
||||
if(!RecvPacket(client, packet, &data))
|
||||
{
|
||||
SAFE_DELETE(data);
|
||||
SAFE_DELETE(client);
|
||||
break;
|
||||
}
|
||||
|
||||
if(!proxy->Tick(packet, data) || killReplay)
|
||||
{
|
||||
SAFE_DELETE(data);
|
||||
SAFE_DELETE(client);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user