summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xorg
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-10-11 21:52:10 -0400
committerZack Rusin <[email protected]>2009-10-11 21:52:10 -0400
commit150d4968e31e4600f9479c53f83d810b92b59cf7 (patch)
tree88eca0fdce7d206def69741e6f5db205322b62e3 /src/gallium/state_trackers/xorg
parent319a588238b4c0c58f8f8807e1143ad79cd8f698 (diff)
st/xorg: initialize pipe in the renderer
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_renderer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_renderer.c b/src/gallium/state_trackers/xorg/xorg_renderer.c
index 362fb6f4f13..1eecf7d2b97 100644
--- a/src/gallium/state_trackers/xorg/xorg_renderer.c
+++ b/src/gallium/state_trackers/xorg/xorg_renderer.c
@@ -186,6 +186,7 @@ struct xorg_renderer * renderer_create(struct pipe_context *pipe)
{
struct xorg_renderer *renderer = CALLOC_STRUCT(xorg_renderer);
+ renderer->pipe = pipe;
renderer->cso = cso_create_context(pipe);
renderer->shaders = xorg_shaders_create(renderer);