fix missing gl31 local variable

pull this to get new vers