Glee actress Jane Lynch says she used to worry about becoming famous and coming out.

The star, who recently married her longterm girlfriend Lara Embry, joined this year’s Outfest in Los Angeles.

She told Press Association “It’s funny, when I was younger I used to lie in bed and think, ‘What will I do if I ever get famous and they find out I’m gay?’ I would really angst about that.”

The actress, who plays cheerleading coach Sue Sylvester, added: “It just happened so naturally and I didn’t hide anything.”

Lynch was honoured with the annual festival’s Outfest Achievement Award but paid tribute to lesbian stars who came out when the entertainment world was less gay-friendly.

She said: “It’s the people that came before me that have really blazed a trail for me. Ellen DeGeneres, Rosie O’Donnell, Melissa Etheridge, Kd Lang, those people that stood up when it wasn’t popular and said, ‘I’m gay – deal with it.”

Glee has been nominated for 19 gongs at this year’s Emmy Awards.

Lynch has been nominated for best supporting comedy actress for her Glee role and best guest actress for Two And A Half Men.