Skip to content
Myr

Merge branch 'patch-1' of https://github.com/StylishTriangles/stb into work2

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

authored by Sean Barrett · committed by Sean Barrett · parents c046a25, 48ffc6b · 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_image.h+1 added-1 removed
5142 unmodified lines
5143 if (shift < 0)5144 v <<= -shift;5145 else5146 v >>= shift;5147 STBI_ASSERT(v >= 0 && v < 256);5147 STBI_ASSERT(v < 256);5148 v >>= (8-bits);5149 STBI_ASSERT(bits >= 0 && bits <= 8);5150 return (int) ((unsigned) v * mul_table[bits]) >> shift_table[bits];5151}
2447 unmodified lines