Skip to content
  • Carl Worth's avatar
    dri: Emit a critical error if the swrast driver fails to load. · 26de5273
    Carl Worth authored
    
    
    Something has gone wrong if swrast is requested but cannot be
    loaded. The user really should be made aware of this, (and instructed
    to set LIBGL_DEBUG for more details).
    
    The wording of this error message is updated from "reverting to
    indirect rendering" to the more objectively descriptive "failed to
    load driver: swrast". The former wording makes assumptions about what
    the calling code will decide to do next, rather than simply describing
    what went wrong within the current function. The new wording is
    consistent with the critical errors recently added for hardware
    drivers that fail to load.
    
    Reviewed-by: default avatarEugeni Dodonov <eugeni.dodonov@intel.com>
    26de5273