Searched refs:r_numcpatches (Results 1 – 2 of 2) sorted by relevance
363 int r_numcpatches[2]; variable
2828 r_numcpatches[0] = 0; in CreatePatchesForLeafs()2829 r_numcpatches[1] = MAX_CM_PATCHES; in CreatePatchesForLeafs()2830 …if (!(r_cpatches = (cpatch_t*) cake_malloc(r_numcpatches[1]*sizeof(cpatch_t), "Q3BSP::CreatePatche… in CreatePatchesForLeafs()2835 memset(r_cpatches, 0, r_numcpatches[1]*sizeof(cpatch_t)); in CreatePatchesForLeafs()2873 while (r_numcpatches[0] >= r_numcpatches[1]) in CreatePatchesForLeafs()2876 r_numcpatches[1] += MAX_CM_PATCHES; in CreatePatchesForLeafs()2877 …if (!(r_cpatches = (cpatch_t*) cake_realloc(r_cpatches, r_numcpatches[1]*sizeof(cpatch_t), "Q3BSP:… in CreatePatchesForLeafs()2881 patch = &r_cpatches[r_numcpatches[0]]; in CreatePatchesForLeafs()2883 r_leafpatches[r_numleafpatches[0]] = r_numcpatches[0]; in CreatePatchesForLeafs()2884 checkout[k] = r_numcpatches[0]++; in CreatePatchesForLeafs()