using GL_LINES instead of GL_LINE_STRIP for waveforeshape