mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
For now, handle persistent maps during capture by forcing flush
* This is ugly and will change once maps are properly intercepted, but works for now.
This commit is contained in:
@@ -164,7 +164,7 @@ bool FindDiffRange(void *a, void *b, size_t bufSize, size_t &diffStart, size_t &
|
||||
// do we have some unaligned bytes at the end of the buffer?
|
||||
if(bufSize > alignedSize)
|
||||
{
|
||||
size_t numBytes = alignedSize-bufSize;
|
||||
size_t numBytes = bufSize-alignedSize;
|
||||
|
||||
// if we haven't even found a start, check in these bytes
|
||||
if(diffStart > bufSize)
|
||||
|
||||
Reference in New Issue
Block a user