SWDEV-291787 - Fix Windows build

Change-Id: I1b97a1100e4c498f53aaad7157f21d0c5f8a130d
Tá an tiomantas seo le fáil i:
Vladislav Sytchenko údaraithe agus Maneesh Gupta tiomanta 2021-08-22 23:56:08 -07:00
1 tuismitheoir 84b971c7c1
tiomantas 0a59c9c4c3
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -1725,7 +1725,7 @@ void VirtualGPU::submitUnmapMemory(amd::UnmapMemoryCommand& vcmd) {
// Map/unmap must be serialized
amd::ScopedLock lock(owner->lockMemoryOps());
memory->unmap(this);
if (memory->getMapount() == 0) {
if (memory->getMapCount() == 0) {
memory->setPersistentMapFlag(false);
}
} else if (memory->mapMemory() != nullptr) {