1 parent ec4c8bc commit 563c9e8Copy full SHA for 563c9e8
1 file changed
renderdoc/core/remote_access.cpp
@@ -124,7 +124,8 @@ void RenderDoc::RemoteAccessClientThread(void *s)
124
ser.Serialise("", captures.back().timestamp);
125
ser.Serialise("", captures.back().path);
126
127
- uint32_t len = 128*1024;
+ uint32_t len = 0;
128
+ RENDERDOC_GetThumbnail(captures.back().path.c_str(), NULL, len);
129
byte *thumb = new byte[len];
130
RENDERDOC_GetThumbnail(captures.back().path.c_str(), thumb, len);
131
0 commit comments