Seriously, when she was nice about it, that is because she wasn't worried or bothered. Sometimes guys don't get an erection. Certainly jacking off 5 hours prior to the event could have an effect, but it was most likely your nervousness and performance anxiety that killed the fun. Don't worry, it will happen another time, just relax. Sex is a pretty natural process.