updated glBreak