diff options
author | Benjamin Franzke <[email protected]> | 2011-06-27 10:23:34 +0200 |
---|---|---|
committer | Benjamin Franzke <[email protected]> | 2011-06-27 10:25:12 +0200 |
commit | 992680c8b46d72cbc61888b8439d815bff42986c (patch) | |
tree | 4599d74c05f969ad7367c822c70063f9b5f588b9 /src/gallium | |
parent | 3a07d9594a60dd84464b30b2d9ffdfc4f219bc5b (diff) |
egl: Fix Terminate with shared gbm screens
NOTE: This is a candidate for the 7.11 branch.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/egl/drm/native_drm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/drm/native_drm.c b/src/gallium/state_trackers/egl/drm/native_drm.c index de4eb852eb7..47910de8d3c 100644 --- a/src/gallium/state_trackers/egl/drm/native_drm.c +++ b/src/gallium/state_trackers/egl/drm/native_drm.c @@ -127,6 +127,8 @@ drm_display_destroy(struct native_display *ndpy) drm_display_fini_modeset(&drmdpy->base); + /* gbm owns screen */ + ndpy->screen = NULL; ndpy_uninit(ndpy); if (drmdpy->device_name) |