updated the samples for glNext

compiles well with vs2013 and glNext