LAS VEGAS—Comedian Wanda Sykes says the passage of a same-sex marriage ban in California has led to her be more outspoken about being gay.

"You know, I don't really talk about my sexual orientation. I didn't feel like I had to. I was just living my life, not necessarily in the closet, but I was living my life," Sykes told a crowd at a gay rights rally in Las Vegas on Saturday. "Everybody that knows me personally they know I'm gay. But that's the way people should be able to live their lives."

Sykes, who is known for her feisty and blunt style, said the passage of California's Proposition 8 made her feel like she was "attacked."

"Now, I gotta get in their face," she said. "I'm proud to be a woman. I'm proud to be a black woman, and I'm proud to be gay."

Sykes' appearance at the Las Vegas rally was a surprise to organizers. She was in town performing at the Planet Hollywood Resort & Casino.