void studrenRelease(S_Renderer **ppRenderer) { S_StudentRenderer * renderer; if( ppRenderer && *ppRenderer ) { /* ukazatel na studentsky renderer */ renderer = (S_StudentRenderer *)(*ppRenderer); /* pripadne uvolneni pameti */ free(renderer->texture); /* fce default rendereru */ renRelease(ppRenderer); } }
void studrenRelease(S_Renderer **ppRenderer) { S_StudentRenderer * renderer; if( ppRenderer && *ppRenderer ) { /* ukazatel na studentsky renderer */ renderer = (S_StudentRenderer *)(*ppRenderer); /* pripadne uvolneni pameti */ if (renderer->hBuffer) free(renderer->hBuffer); fragvecRelease(&(renderer->nBuffer)); /* fce default rendereru */ renRelease(ppRenderer); } }
void studrenRelease(S_Renderer **ppRenderer) { S_StudentRenderer * renderer; if( ppRenderer && *ppRenderer ) { /* ukazatel na studentsky renderer */ renderer = (S_StudentRenderer *)(*ppRenderer); /* pripadne uvolneni pameti */ /* ??? */ vecRelease(&renderer->vecHeadBuff); fragvecRelease(&renderer->vecNodeBuff); /* fce default rendereru */ renRelease(ppRenderer); } }