There would have been no dilemma if blacks had voted on his record, obfuscation of his background and clear lack of character instead of his skin color. He wouldn't even have been able to have created a dilemma over gay marriage.
No doubt. However, when you have the first opportunity in history to do so you more than likely are going to. Vote for someone of your race that has never held the highest office in the land, or even the world. Because you want to believe in the person and assume that his enemies are lying about him. After all, he had expressed that he was against gay marriage almost up to the day that he no longer was against it. The rest while partially exposed was easily dismissed as his enemies (read racists) lying about him. The press also did their part in making the case that it was racism at play, not the man’s true record.