Lines Matching defs:pImg
428 char *pImg;
491 pImg = crAlloc(ptl->bytes+4);
493 pImg = crAlloc(ptl->bytes);
495 if (!pImg) return VERR_NO_MEMORY;
498 *(int*)((char*)pImg+ptl->bytes) = 0xDEADDEAD;
524 diff_api.GetTexImage(target, i, ptl->format, ptl->type, pImg);
528 diff_api.GetCompressedTexImageARB(target, i, pImg);
534 crMemset(pImg, 0, ptl->bytes);
538 if (*(int*)((char*)pImg+ptl->bytes) != 0xDEADDEAD)
544 rc = SSMR3PutMem(pSSM, pImg, ptl->bytes);
545 crFree(pImg);