code: def _make_unavailable_func(funcname):
      def cb(*args, **kwargs):
          raise RuntimeError(
              'OpenGL API call "%s" is not available.' % funcname
          )
  
      return cb
  
file_path: vispy/vispy/gloo/gl/pyopengl2.py
imports: from OpenGL import GL
  import OpenGL.GL.framebufferobjects
  from ...util import logger
  from .None import _copy_gl_functions
  from ._constants import *
  from .None import _pyopengl2
label_desc: Use image node_id 2 for calling a global function with example usage: _make_unavailable_func(funcname) and returns: cb