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/softpipe | |
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/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c index 1fb0a79f207..a79a7a04fde 100644 --- a/src/gallium/drivers/softpipe/sp_context.c +++ b/src/gallium/drivers/softpipe/sp_context.c @@ -239,7 +239,6 @@ softpipe_create_context( struct pipe_screen *screen, softpipe->dump_fs = debug_get_bool_option( "SOFTPIPE_DUMP_FS", FALSE ); softpipe->dump_gs = debug_get_bool_option( "SOFTPIPE_DUMP_GS", FALSE ); - softpipe->pipe.winsys = NULL; softpipe->pipe.screen = screen; softpipe->pipe.destroy = softpipe_destroy; softpipe->pipe.priv = priv; diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 5e50bfb292c..c983ef5b160 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -338,7 +338,6 @@ softpipe_create_screen(struct sw_winsys *winsys) screen->winsys = winsys; - screen->base.winsys = NULL; screen->base.destroy = softpipe_destroy_screen; screen->base.get_name = softpipe_get_name; |