dri2: Trust our own driver name lookup over the server's.
authorEric Anholt <eric@anholt.net>
Thu, 23 Jan 2014 18:21:09 +0000 (10:21 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 27 Jan 2014 17:37:10 +0000 (09:37 -0800)
commit7bd95ec437a5b1052fa17780a9d66677ec1fdc35
treecc659c769fac23973a824df761852516f54f2807
parentbe7a6976a8335a2e1a177769e96f7310ca6770d1
dri2: Trust our own driver name lookup over the server's.

This allows Mesa to choose to rename driver .sos (or split drivers),
without needing a flag day with the corresponding 2D driver.

v2: Undo the loader-only-for-dri3 change.

Reviewed-by: Keith Packard <keithp@keithp.com> [v1]
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> [v1]
src/glx/Makefile.am
src/glx/dri2_glx.c