Hitler by himself wasn’t against homosexuals. Others in the Nazi party were.
There is evidence that in pre-WWI Vienna while Hitler was a struggling and failing artist he supported himself as a “rent boy” meaning a male prostitute. There was a Viennese vice cop who said there was a file on Hitler. (Of course that file if it indeed existed didn’t survive the war.) Also there are some stories by his fellow WWI trench mates about his sexual proclivities not being inclined to the frauleins. Then there is the very close relationship with Rohm. Rohm became expendable for political reasons not moral reasons.
His close associate Ernst Rohm was a major poufta, and as head of party discipline and the SA, he recruited other pouftas. Then in 1934, when Hitler purged the SA, including Rohm, he claimed partial justification from the fact that there were a lot of homosexuals in it. But in fact, per Conrad Heiden, before then he was totally apathetic to the homosexual activity in the ranks. A man wrote to him, broken-hearted that his son had become a homo in the Nazi party, got a very callous response. Baron Von Ludendorf, when he complained about the ubiquitous homosexuality in the Nazi party, got a reply that was unprintable in Conrad Heiden’s book. Dinesh knew from whence he spoke. Besides, the article was supposed to be about Dinesh’s attitude towards Jews, and this appears to be nothing more than a cheap shot unrelated to that subject.