lines accross image

BlitzMax Forums/BlitzMax OpenGL Programming/lines accross image

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Dang! It sure is weird whatever it is. I wondered if it is something to do with alpha doing something odd. All I do is load an RGB PNG image and copy the red channel into the alpha channel. It has been working fine before when I uploaded only the alpha channel as a GL_ALPHA texture, but now I upload and use the whole RGBA I get these dumb lines on the screen. Blend mode is GL_ONE,GL_ONE.

[Edit] It seems that GL_ONE,GL_ONE produces the white lines, whereas GL_SRC_ALPHA,GL_ONE does not, even if the entire source alpha is 1.0.