mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-09 00:01:07 +00:00
LZ4 compress embedded diagnostic log
This commit is contained in:
@@ -1693,6 +1693,7 @@ void RenderDoc::FinishCaptureWriting(RDCFile *rdc, uint32_t frameNumber)
|
||||
SectionProperties props = {};
|
||||
props.type = SectionType::EmbeddedLogfile;
|
||||
props.version = 1;
|
||||
props.flags = SectionFlags::LZ4Compressed;
|
||||
StreamWriter *w = rdc->WriteSection(props);
|
||||
|
||||
w->Write(logcontents.data(), logcontents.size());
|
||||
|
||||
Reference in New Issue
Block a user