Пример #1
0
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);
    }
}
Пример #2
0
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);
    }
}
Пример #3
0
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);
    }
}