Skip to content
Myr

Merge branch 'patch-1' of https://github.com/coltongit/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 589a678, 9e292f0 · 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
6618 unmodified lines
6619 memset(g->background, 0x00, 4 * pcount); // state of the background (starts transparent)6620 memset(g->history, 0x00, pcount); // pixels that were affected previous frame6621 first_frame = 1;6622 } else {6623 // second frame - how do we dispoase of the previous one?6623 // second frame - how do we dispose of the previous one?6624 dispose = (g->eflags & 0x1C) >> 2;6625 pcount = g->w * g->h;66266627 if ((dispose == 3) && (two_back == 0)) {
1134 unmodified lines