Texture enabled and darkened lines

I have been creating a program that uses polygons fairly heavily. I then decided to add a texture to the background and enabled texturing. When I do this all the lines making up my polygons suddenly darken.

Is there anyway to have dull brightness lines and a texture, without having to manually add lighting? In fact when I add lighting I can’t see any of the polgon lines. Any ideas?

Did you disable the texture again before you started rendering the lines? A code sample would help.

Looks like I misunderstood. I thought that enabling or displaying a feature applied to the whole ‘display’ phase. This corrects the issue.

Also made another in my code whereby I was using

gl.glPolygonMode(GL.GL_FRONT,GL.GL_LINE);

and forgot to change it to

gl.glPolygonMode(GL.GL_FRONT,GL.GL_FILL);

for when doing the texture, so I wasn’t seeing the texture. Sharing for the benefit of others.