Merge branch 'master' of https://github.com/r-lyeh/stb into working

Conflicts:
	stb.h
master
Sean Barrett ago%!(EXTRA string=10 years)
commit a96eb04795
  1. 2
      stb.h

@ -1422,7 +1422,7 @@ int stb_is_pow2(unsigned int n)
int stb_log2_floor(unsigned int n) int stb_log2_floor(unsigned int n)
{ {
#if _MSC_VER > 1700 #if _MSC_VER > 1700
DWORD i; unsigned int i;
_BitScanReverse(&i, n); _BitScanReverse(&i, n);
return i != 0 ? i : -1; return i != 0 ? i : -1;
#else #else

Loading…
Cancel
Save