libgbm: Wire up getCapability for the image loader
authorAdam Jackson <ajax@redhat.com>
Tue, 17 Sep 2019 18:23:28 +0000 (14:23 -0400)
committerAdam Jackson <ajax@nwnk.net>
Fri, 20 Sep 2019 19:10:31 +0000 (19:10 +0000)
src/gbm/backends/dri/gbm_dri.c

index 30fb0b1288ea9bf25611c4980049723f2d807c58..78a30287177fd87e5d2e1b31be4bd3fa04e1dfd2 100644 (file)
@@ -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 = {