diff options
author | Thomas Hellstrom <[email protected]> | 2011-02-24 12:59:41 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-03-01 10:36:18 +0100 |
commit | d1e4117355f1db6ff87c837df6212bf6168e98a0 (patch) | |
tree | 04a254ee07a5574c2ba9c08e812e46e6554fc91d /src/gallium/state_trackers/egl/drm | |
parent | 186d3bc7a3389b78a851e34d8f970c28b8db1608 (diff) |
st/egl: Move the copy context to the native display structure
This makes it usable also for native helpers.
Also add inline functions to access the context and to
uninit the native display structure.
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/egl/drm')
-rw-r--r-- | src/gallium/state_trackers/egl/drm/native_drm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/drm/native_drm.c b/src/gallium/state_trackers/egl/drm/native_drm.c index 6932f30a6a4..cdbb304c5ee 100644 --- a/src/gallium/state_trackers/egl/drm/native_drm.c +++ b/src/gallium/state_trackers/egl/drm/native_drm.c @@ -124,8 +124,7 @@ drm_display_destroy(struct native_display *ndpy) drm_display_fini_modeset(&drmdpy->base); - if (drmdpy->base.screen) - drmdpy->base.screen->destroy(drmdpy->base.screen); + ndpy_uninit(ndpy); if (drmdpy->fd >= 0) close(drmdpy->fd); |