code: def sys_set_renderer(renderer: int) -> None:
      
      lib.TCOD_sys_set_renderer(renderer)
      if tcod.console._root_console is not None:
          tcod.console.Console._get_root()
docs: Change the current rendering mode to renderer.
  
      .. deprecated:: 2.0
         RENDERER_GLSL and RENDERER_OPENGL are not currently available.