del fbo as well if it exists

SVN revision: 43654
This commit is contained in:
Carsten Haitzler 2009-11-13 07:25:08 +00:00
parent e3fcdd8b48
commit 2df6cb92bb
1 changed files with 1 additions and 0 deletions

View File

@ -382,6 +382,7 @@ pt_unref(Evas_GL_Texture_Pool *pt)
eina_list_remove(pt->gc->shared->tex.atlas[pt->slot][pt->fslot], pt);
}
glDeleteTextures(1, &(pt->texture));
if (pt->fb) glDeleteFramebuffersEXT(1, &(pt->fb));
free(pt);
}