code: def checkGLError():
      status = gl.glGetError()
      if status != gl.GL_NO_ERROR:
          raise RuntimeError("gl error %s" % (status,))
  
file_path: vispy/examples/demo/gloo/jfa/jfa_translation.py
imports: import numpy
  from os import path
  from vispy.ext import glfw
  from vispy.io import load_data_file
  from OpenGL import GL
  from OpenGL import GLU
  from PIL import Image
  import time
label_desc: Use image node_id 7 for calling a global function with example usage: checkGLError() without return types