st/xorg: initialize pipe in the renderer
authorZack Rusin <zackr@vmware.com>
Mon, 12 Oct 2009 01:52:10 +0000 (21:52 -0400)
committerZack Rusin <zackr@vmware.com>
Mon, 12 Oct 2009 01:52:10 +0000 (21:52 -0400)
src/gallium/state_trackers/xorg/xorg_renderer.c

index 362fb6f4f13738c5126c866a360571c07d321365..1eecf7d2b970d994dcbf20c025c9ebe5a68f1391 100644 (file)
@@ -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);