Pretty sure it was 37 that didn't.
Texas didn't and that was all the much I need to know.. sorry. ;-)
I’m pretty sure the number of states that did not legislate for same-sex marriage is much larger. The courts put it in in most (if not all) cases where it’s allowed and that’s a violation of the separation of powers.