added missing ogl functions