dri: make use of loader_get_extensions_name(..) helper
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 9 Nov 2016 14:50:06 +0000 (15:50 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 15 Nov 2016 18:15:16 +0000 (18:15 +0000)
commit0c73a3b7d0cceb4ba06274b7bd3cf50fb73d48f1
tree4d3b528d92dd73e12ea5a9d77813f6f539ceda2b
parentfb10c8987745cbe69c5f36e9c1c6f2c70b44b761
dri: make use of loader_get_extensions_name(..) helper

Changes since v1:
 - removed not needed includes
 - use the loader version of the helper

v2 [Emil Velikov]
 - Keep the includes - they are required.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c
src/gbm/backends/dri/gbm_dri.c
src/glx/dri_common.c