mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
[util] Fix MSVC build
This commit is contained in:
parent
50c6974f3a
commit
3fc1f2cecb
@ -79,7 +79,7 @@ namespace dxvk::bit {
|
|||||||
|
|
||||||
inline uint32_t bsf(uint32_t n) {
|
inline uint32_t bsf(uint32_t n) {
|
||||||
#if defined(_MSC_VER) && !defined(__clang__)
|
#if defined(_MSC_VER) && !defined(__clang__)
|
||||||
DWORD index;
|
unsigned long index;
|
||||||
_BitScanForward(&index, n);
|
_BitScanForward(&index, n);
|
||||||
return uint32_t(index);
|
return uint32_t(index);
|
||||||
#elif defined(__GNUC__) || defined(__clang__)
|
#elif defined(__GNUC__) || defined(__clang__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user