mirror of
https://github.com/nothings/stb
synced 2025-05-20 01:39:33 -04:00
Merge branch 'master' of https://github.com/r-lyeh/stb into working
Conflicts: stb.h
This commit is contained in:
commit
a96eb04795
2
stb.h
2
stb.h
@ -1422,7 +1422,7 @@ int stb_is_pow2(unsigned int n)
|
||||
int stb_log2_floor(unsigned int n)
|
||||
{
|
||||
#if _MSC_VER > 1700
|
||||
DWORD i;
|
||||
unsigned int i;
|
||||
_BitScanReverse(&i, n);
|
||||
return i != 0 ? i : -1;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user