st/dri: list __DRI2_FENCE extension only where needed
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 7 Jul 2017 18:41:29 +0000 (19:41 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 19 Jul 2017 12:06:50 +0000 (13:06 +0100)
commit8e25e23daeb856f7ef36d5c3adfd8a83cc47cb1e
treea84838a96980c0bf9435aceb03a4ceedc0155c00
parent7791949dadd5af707055d0076874177e5e8e2133
st/dri: list __DRI2_FENCE extension only where needed

The extension should be present (if applicable) in the list returned by
getExtensions(). AFAICT no loader has ever looked for it in
__driDriverExtensions/__driDriverGetExtensions.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/state_trackers/dri/dri2.c