gbm: Don't look up the DRI2_FENCE extension.

It's optional, and nothing references it.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20171>
This commit is contained in:
Emma Anholt 2022-11-30 15:46:38 -08:00 committed by Marge Bot
parent 5ff8edaa2a
commit a145a8301e
2 changed files with 0 additions and 2 deletions

View file

@ -289,7 +289,6 @@ static const __DRIextension *gbm_dri_screen_extensions[] = {
static struct dri_extension_match dri_core_extensions[] = {
{ __DRI2_FLUSH, 1, offsetof(struct gbm_dri_device, flush), false },
{ __DRI_IMAGE, 6, offsetof(struct gbm_dri_device, image), false },
{ __DRI2_FENCE, 1, offsetof(struct gbm_dri_device, fence), true },
};
static struct dri_extension_match gbm_dri_device_extensions[] = {

View file

@ -74,7 +74,6 @@ struct gbm_dri_device {
const __DRIcoreExtension *core;
const __DRImesaCoreExtension *mesa;
const __DRIdri2Extension *dri2;
const __DRI2fenceExtension *fence;
const __DRIimageExtension *image;
const __DRIswrastExtension *swrast;
const __DRIkopperExtension *kopper;