Blender texture coordinates are messed up when rendering in my engine?

In blender, the texture coordinates seem to be working fine, but I have no idea why it’s doing this in my rendering like this. It seems like each time the “mark edge” is used to map, it creates a weird effect on the texture. This is what is looks like in my engine:

This is what it looks like in blender:

I’m not sure if it’s OpenGL or my fault. If you think I am loading texture coordinates incorrectly, tell me and I will post my code and see what I’m doing wrong.