Passing gas accidentally during sex

Tonight my boyfriend and I were having sex and out of nowhere while he was on top I farted once. Unfortunately it wasn't quiet enough for him not to hear it. I have NEVER farted in front of him before or any other boyfriend. I wanted to keep it that way for a while. We've been together for over a year. Anyway I was really embarrassed. I said I was sorry right after and he didn't say anything just kept going, but afterwards I apologized again and he said I shouldn't be embarrassed because it's a bodily function. I still feel really embarrassed like maybe it was a turn off/unattractive but I know if it was, he didn't want to say anything to add to me already feeling bad about it. I know it happens but during sex totally made it worse. Any advice or similar stories? 😕