summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/egl_dri2.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-05-09 18:47:20 +0100
committerEmil Velikov <[email protected]>2017-05-29 16:49:47 +0100
commit628af2bc9690f42957f9799dfc0dbd0614d38d4c (patch)
tree38eae45353ad63129c3cb2d8a346f29723e3033e /src/egl/drivers/dri2/egl_dri2.c
parente183c552758ac47880f5518cdff9057d99df921b (diff)
gbm: remove unneeded gbm_drm_device abstraction
Signed-off-by: Emil Velikov <[email protected]> Tested-by: Rob Herring <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.c')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 0be7132ac58..405db61d185 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -893,7 +893,7 @@ dri2_display_release(_EGLDisplay *disp)
#ifdef HAVE_DRM_PLATFORM
case _EGL_PLATFORM_DRM:
if (dri2_dpy->own_device) {
- gbm_device_destroy(&dri2_dpy->gbm_dri->base.base);
+ gbm_device_destroy(&dri2_dpy->gbm_dri->base);
}
break;
#endif