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/r300 | |
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/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index 7d289ca6346..158dbc07c7f 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -385,7 +385,6 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen, r300->rws = rws; r300->screen = r300screen; - r300->context.winsys = (struct pipe_winsys*)rws; r300->context.screen = screen; r300->context.priv = priv; diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 6b3b6c1cccf..9ac5781e949 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -526,7 +526,6 @@ struct pipe_screen* r300_screen_create(struct radeon_winsys *rws) UTIL_SLAB_SINGLETHREADED); r300screen->rws = rws; - r300screen->screen.winsys = (struct pipe_winsys*)rws; r300screen->screen.destroy = r300_destroy_screen; r300screen->screen.get_name = r300_get_name; r300screen->screen.get_vendor = r300_get_vendor; |