d-2.065: fix compilation errors
functions2: reformat
egl: reformat functions
ext2: reformat functions
ext2: fix const syntax in parameters
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
cmake: add CMakeLists.txt
cmake: update for gles3