mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Fix extended thumbnail length not being written
This commit is contained in:
@@ -1676,6 +1676,7 @@ void RenderDoc::FinishCaptureWriting(RDCFile *rdc, uint32_t frameNumber)
|
||||
header.width = thumb.width;
|
||||
header.height = thumb.height;
|
||||
header.format = thumb.format;
|
||||
header.len = (uint32_t)thumb.pixels.size();
|
||||
w->Write(header);
|
||||
w->Write(thumb.pixels.data(), thumb.pixels.size());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user