예제 #1
0
void
demoUnload()
{
	xlImgDeleteTexture();
	xlImgUnload();
	xlBindImage(img[1]);
	xlImgUnload();
	xlBindImage(img[2]);
	xlImgUnload();
	xlDeleteImages(3, img);
}
예제 #2
0
파일: xlDelete.c 프로젝트: wovope/openxl
void
xlMatDeleteImages(void)
{
    XLmaterial *bind = xlGetMaterial();
    XLuint i;

    for(i = 0; i < bind->header.properties; i++)
        xlImgUnload();
    xlDeleteImages(bind->header.properties, bind->runtime.images);
    xlFree(bind->runtime.images);
}