Searched refs:pui32IdxNew (Results 1 – 2 of 2) sorted by relevance
448 unsigned int *pui32IdxNew; in Create() local473 pui32IdxNew = (unsigned int*)malloc(nTriNum * 3 * sizeof(*pui32IdxNew)); in Create()483 free(pui32IdxNew); in Create()550 free(pui32IdxNew); in Create()612 pui32IdxNew[3 * nTriCnt + j] = pvDup[ui32SrcIdx][k]; in Create()626 pui32IdxNew[3 * nTriCnt + j] = pVtxBuf->size() - 1; in Create()635 memcpy(pui32Idx, pui32IdxNew, nTriNum * 3 * sizeof(*pui32IdxNew)); in Create()644 FREE(pui32IdxNew); in Create()
628 unsigned int *pui32IdxNew; // New index array, this will be copied over the input array in PVRTVertexGenerateTangentSpace() local639 pui32IdxNew = (unsigned int*)calloc(nTriNum * 3, sizeof(*pui32IdxNew)); in PVRTVertexGenerateTangentSpace()640 _ASSERT(pui32IdxNew); in PVRTVertexGenerateTangentSpace()645 if(!pui32IdxNew || !psVtxData || !psTSpass) in PVRTVertexGenerateTangentSpace()647 free(pui32IdxNew); in PVRTVertexGenerateTangentSpace()782 pui32IdxNew[3 * psVtx->pnTri[i] + 0] = *pnVtxNumOut; in PVRTVertexGenerateTangentSpace()785 pui32IdxNew[3 * psVtx->pnTri[i] + 1] = *pnVtxNumOut; in PVRTVertexGenerateTangentSpace()788 pui32IdxNew[3 * psVtx->pnTri[i] + 2] = *pnVtxNumOut; in PVRTVertexGenerateTangentSpace()817 memcpy(pui32Idx, pui32IdxNew, nTriNum * 3 * sizeof(*pui32IdxNew)); in PVRTVertexGenerateTangentSpace()818 FREE(pui32IdxNew); in PVRTVertexGenerateTangentSpace()