GRAPHICS: Move segment buffer bind into a separate function.
GRAPHICS: Add line array draw support to vertex buffer.
And make draw function const.