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)
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

index f74f1d19b19d2e3b3a7d204c80ac4159717ca425..19ee5f495ec77b8b3f2b3fcd9a1eaa1fcf9a8b50 100644 (file)
@@ -2251,7 +2251,6 @@ const __DRIextension *galliumdrm_driver_extensions[] = {
     &driImageDriverExtension.base,
     &driDRI2Extension.base,
     &gallium_config_options.base,
-    &dri2FenceExtension.base,
     NULL
 };