handle multiple lines for GL_LINES mode
clear vertex array on subsequent draws