It is easy to dismiss the idea of not needing a friend who is not accepting, but it is important to consider something important. Friends are more than people you "like" and might hang out with on the weekends. A friend can also be a valuable resource, a trusted resource of support and mutual aid when life gets bad. Take it from someone who has been alone in this world (and I mean really alone), I would not be so dismissive of losing a friend and burning a bridge with someone. Think carefully before disclosing something to them that might cause a bridge to be burned, you may need them someday.
All of my friends know I dress now. Would it have been a good idea to tell some in my youth? Probably not, I am glad some were there for me at the time and it would not have been worth losing them.