summaryrefslogtreecommitdiffstats
path: root/src/gbm
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2019-09-17 14:23:28 -0400
committerAdam Jackson <[email protected]>2019-09-20 19:10:31 +0000
commit6e4fd14b0feb04d991e250792b013fee6758a1b3 (patch)
treee3f05511af1a77ea6fb6fd704161087783d4a257 /src/gbm
parent55a1b583d931871df96e2219f4badc8b8afd2176 (diff)
libgbm: Wire up getCapability for the image loader
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/backends/dri/gbm_dri.c3
1 files changed, 2 insertions, 1 deletions
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 = {