Texture being rendered wrong

This texture is being rendered the wrong way. Where could be the mistake?

Original texture:
https://drive.google.com/open?id=0B7Mw1uYmSPpgdmk0ckdpQ1JGSGs
That’s being drawn:
https://drive.google.com/open?id=0B7Mw1uYmSPpgYWxkQ3Rqc1Rib1k

Probably in your code, but we can not know until we see it.