Skip to content
Myr

Merge branch 'truetype-memset-defines' of https://github.com/mmozeiko/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 24a2545, ffe4476 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:stb_truetype.h+2 added-2 removed
2187 unmodified lines
2188 int j;2189 for (j=0; j < h; ++j) {2190 int i;2191 unsigned int total;2192 memset(buffer, 0, kernel_width);2192 STBTT_memset(buffer, 0, kernel_width);21932194 total = 0;21952196 // make kernel_width a constant in common cases so compiler can optimize out the divide
45 unmodified lines
2242 int j;2243 for (j=0; j < w; ++j) {2244 int i;2245 unsigned int total;2246 memset(buffer, 0, kernel_width);2246 STBTT_memset(buffer, 0, kernel_width);22472248 total = 0;22492250 // make kernel_width a constant in common cases so compiler can optimize out the divide
362 unmodified lines