Unwanted lines with GL_POLYGON_SMOOTH

BlitzMax Forums/BlitzMax OpenGL Programming/Unwanted lines with GL_POLYGON_SMOOTH

Because you do not have the right blend mode set.

You need:

glEnable(GL_BLEND)
glBlendFunc(GL_SRC_ALPHA_SATURATE,GL_ONE)

Also I am not sure but maybe you need to sort polygons by Z?