Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Conflicts: stb.h

authored by Sean Barrett · committed by Sean Barrett · parents c6f33a1, 8702dce · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:stb.h+1 added-1 removed
1420 unmodified lines
1421#pragma warning(disable: 4035) // disable warning about no return value1422int stb_log2_floor(unsigned int n)1423{1424 #if _MSC_VER > 17001425 DWORD i;1425 unsigned int i;1426 _BitScanReverse(&i, n);1427 return i != 0 ? i : -1;1428 #else1429 __asm {
12685 unmodified lines