mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 13:30:44 +00:00
Fix backwards check on upload buffer being available
This commit is contained in:
@@ -1750,7 +1750,7 @@ bool WrappedID3D12Device::Serialise_MapDataWrite(SerialiserType &ser, ID3D12Reso
|
||||
{
|
||||
ID3D12Resource *uploadBuf = GetUploadBuffer(cmd.m_CurChunkOffset, rangeSize);
|
||||
|
||||
if(uploadBuf)
|
||||
if(!uploadBuf)
|
||||
{
|
||||
RDCERR("Couldn't get upload buffer");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user