summaryrefslogtreecommitdiffstats
path: root/src/gbm/backends/dri/gbm_dri.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-27 17:41:55 +0200
committerMarek Olšák <[email protected]>2016-11-01 22:33:13 +0100
commit6b309f736865feb395499cdc357de093f5bdf564 (patch)
treed05a521e1c75d54c2eb034a83d4c2d01218642b0 /src/gbm/backends/dri/gbm_dri.c
parent8bfd65395ebf9b638f1932e2da706fce5a28824b (diff)
gbm: set up the interop extension for egl/drm
breaking libgbm -> libEGL ABI? Acked-by: Alex Deucher <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gbm/backends/dri/gbm_dri.c')
-rw-r--r--src/gbm/backends/dri/gbm_dri.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index 51c4117ba70..5cd7318d57b 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -246,6 +246,7 @@ static struct dri_extension_match dri_core_extensions[] = {
{ __DRI2_FLUSH, 1, offsetof(struct gbm_dri_device, flush) },
{ __DRI_IMAGE, 1, offsetof(struct gbm_dri_device, image) },
{ __DRI2_FENCE, 2, offsetof(struct gbm_dri_device, fence), 1 },
+ { __DRI2_INTEROP, 1, offsetof(struct gbm_dri_device, interop), 1 },
{ NULL, 0, 0 }
};