diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/egl/wayland/native_drm.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/egl/wayland/native_shm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/wayland/native_drm.c b/src/gallium/state_trackers/egl/wayland/native_drm.c index ad238bee122..8daf7830dd4 100644 --- a/src/gallium/state_trackers/egl/wayland/native_drm.c +++ b/src/gallium/state_trackers/egl/wayland/native_drm.c @@ -80,7 +80,7 @@ wayland_drm_display_destroy(struct native_display *ndpy) if (drmdpy->base.configs) FREE(drmdpy->base.configs); if (drmdpy->base.own_dpy) - wl_display_destroy(drmdpy->base.dpy); + wl_display_disconnect(drmdpy->base.dpy); ndpy_uninit(ndpy); diff --git a/src/gallium/state_trackers/egl/wayland/native_shm.c b/src/gallium/state_trackers/egl/wayland/native_shm.c index 7d83e78fb49..c2375788aac 100644 --- a/src/gallium/state_trackers/egl/wayland/native_shm.c +++ b/src/gallium/state_trackers/egl/wayland/native_shm.c @@ -66,7 +66,7 @@ wayland_shm_display_destroy(struct native_display *ndpy) if (shmdpy->base.configs) FREE(shmdpy->base.configs); if (shmdpy->base.own_dpy) - wl_display_destroy(shmdpy->base.dpy); + wl_display_disconnect(shmdpy->base.dpy); ndpy_uninit(ndpy); |