Browse Source

Merge branch 'patch-1' of https://github.com/coltongit/stb into working

Sean Barrett 5 năm trước cách đây
mục cha
commit
f3085776a4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      stb_image.h

+ 1 - 1
stb_image.h

@@ -6620,7 +6620,7 @@ static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, i
       memset(g->history, 0x00, pcount);        // pixels that were affected previous frame
       memset(g->history, 0x00, pcount);        // pixels that were affected previous frame
       first_frame = 1;
       first_frame = 1;
    } else {
    } else {
-      // second frame - how do we dispoase of the previous one?
+      // second frame - how do we dispose of the previous one?
       dispose = (g->eflags & 0x1C) >> 2;
       dispose = (g->eflags & 0x1C) >> 2;
       pcount = g->w * g->h;
       pcount = g->w * g->h;