ANDY'S ANSWER: I'm actually not sure what you're asking. Are you saying that you've just found out your friend is gay and now you don't know if you want to be his friend any more?
I guess you'll have to figure out for yourself what things qualify someone to be a friend in your opinion and if finding out that he's gay changes him as that kind of person in your eyes. In other words, there's nothing you can do about him being gay - you can only make your own decisions on who are the people in your life that you want (or don't want) to spend time with.