| 11129 | } |
| 11130 | |
| 11131 | void VmaAllocation_T::BlockAllocUnmap() |
| 11132 | { |
| 11133 | VMA_ASSERT(GetType() == ALLOCATION_TYPE_BLOCK); |
| 11134 | |
| 11135 | if (m_MapCount > 0) |
| 11136 | { |
| 11137 | --m_MapCount; |
| 11138 | } |
| 11139 | else |
| 11140 | { |
| 11141 | VMA_ASSERT(0 && "Unmapping allocation not previously mapped."); |
| 11142 | } |
| 11143 | } |
| 11144 | |
| 11145 | VkResult VmaAllocation_T::DedicatedAllocMap(VmaAllocator hAllocator, void** ppData) |
| 11146 | { |