From: Adam Jackson Date: Tue, 17 Sep 2019 18:23:28 +0000 (-0400) Subject: libgbm: Wire up getCapability for the image loader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e4fd14b0feb04d991e250792b013fee6758a1b3;p=mesa.git libgbm: Wire up getCapability for the image loader --- diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index 30fb0b1288e..78a30287177 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -228,10 +228,11 @@ static const __DRIdri2LoaderExtension dri2_loader_extension = { }; static const __DRIimageLoaderExtension image_loader_extension = { - .base = { __DRI_IMAGE_LOADER, 1 }, + .base = { __DRI_IMAGE_LOADER, 2 }, .getBuffers = image_get_buffers, .flushFrontBuffer = dri_flush_front_buffer, + .getCapability = dri_get_capability, }; static const __DRIswrastLoaderExtension swrast_loader_extension = {