mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-10 14:21:31 +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:
1 parent
5911749596
commit
e3ca8d0773
4 files changed
+43
-2
No files matched your search
@@ -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