I'm fairly certain the lizard that does this reproduces with parthenogenesis, which means it wouldn't be necessary at all. However, I'll concede that point because I can't find my original source. Also, I had another half to that post.
The fact that other organisms in the wild perform homosexual acts does not change my statement, if that's what you're referring to.