Mesa (master): libgbm: Wire up getCapability for the image loader
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Sep 20 19:53:23 UTC 2019
Module: Mesa
Branch: master
Commit: 6e4fd14b0feb04d991e250792b013fee6758a1b3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e4fd14b0feb04d991e250792b013fee6758a1b3
Author: Adam Jackson <ajax at redhat.com>
Date: Tue Sep 17 14:23:28 2019 -0400
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 = {
More information about the mesa-commit
mailing list