added delete texture to dispose