From b36b1fa453abc9cc27ef19ade956e7667f195a4e Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 13 Jun 2018 17:40:02 +0100 Subject: [PATCH] Change remote server version to be == RenderDoc version * Any time the replay types serialisation change, the remote server becomes incompatible. We're not going to add backwards compatibility to that system, so we need to break it every time. * Really the version should be bumped any time renderdoc_serialise.inl changes, but we don't have an auto-incrementing revision to use. --- renderdoc/core/remote_server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/renderdoc/core/remote_server.cpp b/renderdoc/core/remote_server.cpp index 22758ed7f..6539f7819 100644 --- a/renderdoc/core/remote_server.cpp +++ b/renderdoc/core/remote_server.cpp @@ -35,7 +35,8 @@ #include "strings/string_utils.h" #include "replay_proxy.h" -static const uint32_t RemoteServerProtocolVersion = 3; +static const uint32_t RemoteServerProtocolVersion = + uint32_t(RENDERDOC_VERSION_MAJOR * 1000) | RENDERDOC_VERSION_MINOR; enum RemoteServerPacket {