mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-25 16:14:35 +00:00
Minor internal fix - removed usage of DWORD type
This commit is contained in:
parent
f451b94158
commit
8da08d160a
@ -3075,7 +3075,7 @@ static inline uint32_t VmaCountBitsSet(uint32_t v)
|
||||
static inline uint8_t VmaBitScanLSB(uint64_t mask)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
DWORD pos;
|
||||
unsigned long pos;
|
||||
if (_BitScanForward64(&pos, mask))
|
||||
return static_cast<uint8_t>(pos);
|
||||
#else
|
||||
@ -3092,7 +3092,7 @@ static inline uint8_t VmaBitScanLSB(uint64_t mask)
|
||||
static inline uint8_t VmaBitScanLSB(uint32_t mask)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
DWORD pos;
|
||||
unsigned long pos;
|
||||
if (_BitScanForward(&pos, mask))
|
||||
return static_cast<uint8_t>(pos);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user