Added LINE_STRIP and LINE_LIST support