Home | History | Annotate | Download | only in gdx2d

Lines Matching full:idata_limit

4324    stbi__uint32 ioff=0, idata_limit=0, i, pal_len=0;
4410 if (ioff + c.length > idata_limit) {
4412 if (idata_limit == 0) idata_limit = c.length > 4096 ? c.length : 4096;
4413 while (ioff + c.length > idata_limit)
4414 idata_limit *= 2;
4415 p = (stbi_uc *) STBI_REALLOC(z->idata, idata_limit); if (p == NULL) return stbi__err("outofmem", "Out of memory");