updated the samples for glNext