Skip to content
Myr

Merge branch 'remove-assert' of https://github.com/rombankzero/stb into working

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 f9d9a41, f65ed67 · Browse files · 1 file+0 added−3 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+0 added−3 removed

  • other:+0 added−3 removed

1 file+0 added−3 removed

modified:stb_rect_pack.h-3 removed
539 unmodified lines
540541 // we use the 'was_packed' field internally to allow sorting/unsorting542 for (i=0; i < num_rects; ++i) {543 rects[i].was_packed = i;544 #ifndef STBRP_LARGE_RECTS545 STBRP_ASSERT(rects[i].w <= 0xffff && rects[i].h <= 0xffff);546 #endif544 }545546 // sort according to heuristic547 STBRP_SORT(rects, num_rects, sizeof(rects[0]), rect_height_compare);
71 unmodified lines