TMZ/Getty

Jussie Smollett Trial Osundairo Bro Says He's No Homophobe ... I Worked it at Pride Events, Gay Bars!!!

Jussie Smollett's claim one of the Osundairo bros is homophobic -- and that motivated him to pull off the alleged attack -- is getting shot down in court by the brother himself, who brought Pride pics as evidence.

Ola Osundairo -- one of the prosecution's star witnesses, along with his brother Abel -- testified Thursday in Chicago, saying he respects the gay community and had worked as a bouncer in a gay club called Boystown.

He stopped short of dropping the old "I have gay friends" trope but did say he'd been knee-deep in Pride celebrations. The jury was shown a 2015 photo of one such time -- Ola said he was "handing out condoms and flexing" while dressed as a Trojan warrior.

Get it? Condoms? Trojan? Anyway, there are no cameras in court, so we haven't actually seen the pic in question.

As for Abel Osundairo ... he took the stand and got grilled by Smollett's attorney about his alleged sexual relationship with the "Empire" star. Shay Allen asked when they started dating, and Abel replied they never did. He also denied there being any sexual tension between them, and he only thought of Jussie as a friend.

Click here for info about our online advertising practices.