From 6e4fd14b0feb04d991e250792b013fee6758a1b3 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 17 Sep 2019 14:23:28 -0400 Subject: libgbm: Wire up getCapability for the image loader --- src/gbm/backends/dri/gbm_dri.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = { -- cgit v1.2.3