summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/common/egl_g3d.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-03-13 14:57:32 +0800
committerChia-I Wu <olv@lunarg.com>2010-03-13 15:14:56 +0800
commitfecb97aab42e1a099f12cc7a47ed7219cd041809 (patch)
treebf03492109ed645a58d0a25a3f95920e58d50f77 /src/gallium/state_trackers/egl/common/egl_g3d.h
parent495bfb0ad2e60638e7b2e94f36f0079e3f450091 (diff)
st/egl: Fix eglCopyBuffers.
Use a (real) pipe context to copy between pipe surfaces. Fix a NULL dereference of the temporary native surface created for copying.
Diffstat (limited to 'src/gallium/state_trackers/egl/common/egl_g3d.h')
-rw-r--r--src/gallium/state_trackers/egl/common/egl_g3d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d.h b/src/gallium/state_trackers/egl/common/egl_g3d.h
index 07a87f8bc7..2788f1bf4a 100644
--- a/src/gallium/state_trackers/egl/common/egl_g3d.h
+++ b/src/gallium/state_trackers/egl/common/egl_g3d.h
@@ -53,6 +53,7 @@ struct egl_g3d_display {
struct native_display *native;
struct st_manager *smapi;
+ struct pipe_context *pipe;
};
struct egl_g3d_context {