summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-02-17 01:49:49 +0100
committerMarek Olšák <[email protected]>2012-02-21 21:09:16 +0100
commit96d882939d612fcc8332f107befec470ed4359de (patch)
tree1cb90df7f1fbd22a44e466a8b0f6d4d25ba04c34 /src/gallium/drivers/i915
parentf33d100fa71cecfb163dd91cd56b9a2788a43c22 (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/i915')
-rw-r--r--src/gallium/drivers/i915/i915_context.c1
-rw-r--r--src/gallium/drivers/i915/i915_screen.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c
index 81976298f07..5e0ced235d9 100644
--- a/src/gallium/drivers/i915/i915_context.c
+++ b/src/gallium/drivers/i915/i915_context.c
@@ -143,7 +143,6 @@ i915_create_context(struct pipe_screen *screen, void *priv)
return NULL;
i915->iws = i915_screen(screen)->iws;
- i915->base.winsys = NULL;
i915->base.screen = screen;
i915->base.priv = priv;
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index a37241f5002..61340f3a588 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -452,8 +452,6 @@ i915_screen_create(struct i915_winsys *iws)
is->iws = iws;
- is->base.winsys = NULL;
-
is->base.destroy = i915_destroy_screen;
is->base.flush_frontbuffer = i915_flush_frontbuffer;