mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-06-03 10:27:47 +00:00
parent
945606926b
commit
2e37247a59
1 changed files with 1 additions and 1 deletions
|
@ -3157,7 +3157,7 @@ static void vma_aligned_free(void* VMA_NULLABLE ptr)
|
||||||
std::shared_mutex m_Mutex;
|
std::shared_mutex m_Mutex;
|
||||||
};
|
};
|
||||||
#define VMA_RW_MUTEX VmaRWMutex
|
#define VMA_RW_MUTEX VmaRWMutex
|
||||||
#elif defined(_WIN32) && defined(WINVER) && WINVER >= 0x0600
|
#elif defined(_WIN32) && defined(WINVER) && defined(SRWLOCK_INIT) && WINVER >= 0x0600
|
||||||
// Use SRWLOCK from WinAPI.
|
// Use SRWLOCK from WinAPI.
|
||||||
// Minimum supported client = Windows Vista, server = Windows Server 2008.
|
// Minimum supported client = Windows Vista, server = Windows Server 2008.
|
||||||
class VmaRWMutex
|
class VmaRWMutex
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue