fix gl function get
Merge branch 'master' into windows-build
fix gl functions get
Merge branch 'master' into windows-build