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/rbug | |
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/rbug')
-rw-r--r-- | src/gallium/drivers/rbug/rbug_context.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/rbug/rbug_screen.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/rbug/rbug_context.c b/src/gallium/drivers/rbug/rbug_context.c index 96f4ce6b48b..3aa4f85babb 100644 --- a/src/gallium/drivers/rbug/rbug_context.c +++ b/src/gallium/drivers/rbug/rbug_context.c @@ -1174,7 +1174,6 @@ rbug_context_create(struct pipe_screen *_screen, struct pipe_context *pipe) pipe_mutex_init(rb_pipe->list_mutex); make_empty_list(&rb_pipe->shaders); - rb_pipe->base.winsys = NULL; rb_pipe->base.screen = _screen; rb_pipe->base.priv = pipe->priv; /* expose wrapped data */ rb_pipe->base.draw = NULL; diff --git a/src/gallium/drivers/rbug/rbug_screen.c b/src/gallium/drivers/rbug/rbug_screen.c index fe7cdd81251..1b7ca7cb6fe 100644 --- a/src/gallium/drivers/rbug/rbug_screen.c +++ b/src/gallium/drivers/rbug/rbug_screen.c @@ -286,8 +286,6 @@ rbug_screen_create(struct pipe_screen *screen) make_empty_list(&rb_screen->surfaces); make_empty_list(&rb_screen->transfers); - rb_screen->base.winsys = NULL; - rb_screen->base.destroy = rbug_screen_destroy; rb_screen->base.get_name = rbug_screen_get_name; rb_screen->base.get_vendor = rbug_screen_get_vendor; |