code: def eglSwapBuffers(display, surface):
      res = _lib.eglSwapBuffers(display, surface)
      if res == EGL_FALSE:
          raise RuntimeError("Could not swap buffers.")
  
file_path: vispy/vispy/ext/egl.py
imports: import os
  import ctypes
  from ctypes import c_int, POINTER, c_void_p, c_char_p
label_desc: Use image node_id 14 for calling a global function with example usage: eglSwapBuffers(display, surface) without return types