Trouble with texturing or loading a texture

Hi everybody,

I am trying to make a simple textured quad, using GO language, that is pretty knew in mobile developing(as well as I). And I faced a trouble, that I can’t actually understand. On pic you can see that mess of pixels in the corner of my square and it’s border(those white stripes). Also, I enabled blending. Does anyone know what’s the problem? On my opinion it’s all because of function that loads my picture, so I will be very grateful if someone links and docs about decoding of different file formats. And what kind of byte order does glTexImage2D() accept? Thanks in advance.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.