fix missing gl31 local variable
Merge pull request #1 from void256/1.4

fix missing gl31 local variable