diff options
author | Marek Olšák <[email protected]> | 2012-02-17 01:49:49 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-21 21:09:16 +0100 |
commit | 96d882939d612fcc8332f107befec470ed4359de (patch) | |
tree | 1cb90df7f1fbd22a44e466a8b0f6d4d25ba04c34 /src/gallium/drivers/noop | |
parent | f33d100fa71cecfb163dd91cd56b9a2788a43c22 (diff) |
gallium: remove unused winsys pointers in pipe_screen and pipe_context
A winsys is already a private object of a driver.
Diffstat (limited to 'src/gallium/drivers/noop')
-rw-r--r-- | src/gallium/drivers/noop/noop_pipe.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |