From 96d882939d612fcc8332f107befec470ed4359de Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 17 Feb 2012 01:49:49 +0100 Subject: gallium: remove unused winsys pointers in pipe_screen and pipe_context A winsys is already a private object of a driver. --- src/gallium/drivers/noop/noop_pipe.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/drivers/noop/noop_pipe.c') diff --git a/src/gallium/drivers/noop/noop_pipe.c b/src/gallium/drivers/noop/noop_pipe.c index ec20e0d25a9..5453def8df5 100644 --- a/src/gallium/drivers/noop/noop_pipe.c +++ b/src/gallium/drivers/noop/noop_pipe.c @@ -276,7 +276,6 @@ static struct pipe_context *noop_create_context(struct pipe_screen *screen, void if (ctx == NULL) return NULL; - ctx->winsys = screen->winsys; ctx->screen = screen; ctx->priv = priv; ctx->destroy = noop_destroy_context; @@ -380,7 +379,6 @@ struct pipe_screen *noop_screen_create(struct pipe_screen *oscreen) noop_screen->oscreen = oscreen; screen = &noop_screen->pscreen; - screen->winsys = oscreen->winsys; screen->destroy = noop_destroy_screen; screen->get_name = noop_get_name; screen->get_vendor = noop_get_vendor; -- cgit v1.2.3