I am using GLSL to draw axes with GL_LINES. It works, but the optimization below fails.
Correct rendering:
This is constructed from 6 lines, each start