We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bca9f86 commit 35af49dCopy full SHA for 35af49d
include/nbl/video/IDeviceMemoryAllocation.h
@@ -114,7 +114,7 @@ class IDeviceMemoryAllocation : public virtual core::IReferenceCounted
114
if (m_mappedPtr)
115
m_mappedPtr -= range.offset;
116
m_mappedRange = m_mappedPtr ? range:MemoryRange{};
117
- m_currentMappingAccess = m_mappedPtr ? EMCAF_NO_MAPPING_ACCESS:accessHint;
+ m_currentMappingAccess = m_mappedPtr ? accessHint : EMCAF_NO_MAPPING_ACCESS;
118
return m_mappedPtr;
119
}
120
// returns true on success, false on failure
0 commit comments