Merge branch 'function-cleanups'

* function-cleanups:
  ext2: fix const syntax in parameters
  ext2: reformat functions
  egl: reformat functions
  functions2: reformat
ext2: rename the extension loading function

This is so that the GLES3 function can be distinct.
gles3: add support for core 3.0 and 3.1
ext2: sync with the latest gl2ext.h