summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2
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/egl/drivers/dri2
parent03eca9d92d407c71a59ff8a43067759769da0ae4 (diff)
egl_dri2: make flush extension useable by drm platform
Diffstat (limited to 'src/egl/drivers/dri2')
-rw-r--r--src/egl/drivers/dri2/platform_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c
index 3dc2c40c4e6..bd3d1e0c2c2 100644
--- a/src/egl/drivers/dri2/platform_drm.c
+++ b/src/egl/drivers/dri2/platform_drm.c
@@ -141,6 +141,7 @@ dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp)
dri2_dpy->core = dri2_dpy->gbm_dri->core;
dri2_dpy->dri2 = dri2_dpy->gbm_dri->dri2;
dri2_dpy->image = dri2_dpy->gbm_dri->image;
+ dri2_dpy->flush = dri2_dpy->gbm_dri->flush;
dri2_dpy->driver_configs = dri2_dpy->gbm_dri->driver_configs;
dri2_dpy->gbm_dri->lookup_image = dri2_lookup_egl_image;