However, if you're making a mesh out of quads, you'll need a different approach, as GL_LINES will also draw the diagonal of the quad. One way around this is to create an element list with a primitive restart index (v0 v1 v2 v3 RS...) and draw with GL_LINE_LOOP.