summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/common/egl_g3d.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-02-24 12:59:41 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2011-03-01 10:36:18 +0100
commitd1e4117355f1db6ff87c837df6212bf6168e98a0 (patch)
tree04a254ee07a5574c2ba9c08e812e46e6554fc91d /src/gallium/state_trackers/egl/common/egl_g3d.c
parent186d3bc7a3389b78a851e34d8f970c28b8db1608 (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 <thellstrom@vmware.com>
Diffstat (limited to 'src/gallium/state_trackers/egl/common/egl_g3d.c')
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.c b/src/gallium/state_trackers/egl/common/egl_g3d.c
index 6107df4882..e60a56074d 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d.c
+++ b/src/gallium/state_trackers/egl/common/egl_g3d.c
@@ -455,9 +455,6 @@ egl_g3d_terminate(_EGLDriver *drv, _EGLDisplay *dpy)
_eglReleaseDisplayResources(drv, dpy);
- if (gdpy->pipe)
- gdpy->pipe->destroy(gdpy->pipe);
-
if (dpy->Configs) {
_eglDestroyArray(dpy->Configs, egl_g3d_free_config);
dpy->Configs = NULL;