fixes DestroyTexture