How to get rid of the visibility of lines(bgl, gpu)?

I draw gizmo using a custom fragment shader. How to get rid of the visibility of lines?