fix glgen3 bug, removes 30 compat funcs from core