summaryrefslogtreecommitdiffstats
path: root/src/gbm/backends/dri/gbm_dri.c
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <[email protected]>2012-01-25 16:24:15 +0200
committerKristian Høgsberg <[email protected]>2012-03-27 08:28:07 -0400
commit410aa3eb45c88dd939dcecaa2aafa8f5afd6e000 (patch)
tree65eae4569f2464f76719f3f5ef64e86b08fe3348 /src/gbm/backends/dri/gbm_dri.c
parent03eca9d92d407c71a59ff8a43067759769da0ae4 (diff)
egl_dri2: make flush extension useable by drm platform
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 98f14cd5343..1e02287651c 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -70,6 +70,7 @@ struct dri_extension_match {
};
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) },
{ NULL, 0, 0 }
};