OSDN Git Service

dri: Emit a critical error if a named driver fails to load.
authorCarl Worth <cworth@cworth.org>
Sat, 4 Feb 2012 00:25:38 +0000 (16:25 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 9 Feb 2012 01:07:53 +0000 (17:07 -0800)
commit6c9af977401ff986964d678f8870eee23c504077
tree0675657cbd806dc31ab824c1055f77b5fe7d9816
parent92bef0bfa121e0e58112ffae352c8ad9e5da6307
dri: Emit a critical error if a named driver fails to load.

Something has gone wrong if we were asked to load a driver of a
specific name, but it failed to load for some reason. The user really
should be made aware of this, (and instructed to set LIBGL_DEBUG for
more details).

Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
src/glx/dri2_glx.c
src/glx/dri_glx.c