added missing ogl functions

Tested on windows and android.