diff --git a/renderdoc/serialise/codecs/xml_codec.cpp b/renderdoc/serialise/codecs/xml_codec.cpp index 3170f04d1..aabc2f3b0 100644 --- a/renderdoc/serialise/codecs/xml_codec.cpp +++ b/renderdoc/serialise/codecs/xml_codec.cpp @@ -911,6 +911,11 @@ static bool ZIP2Buffers(const std::string &filename, ThumbTypeAndData &thumb, extThumb.format = type; extThumb.data.assign(buf, sz); } + else + { + thumb.format = type; + thumb.data.assign(buf, sz); + } } else {