summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 23:27:50 +0000
committerKeith Whitwell <[email protected]>2009-11-04 23:27:50 +0000
commite3e084c66089704a36f28dfb2bc4b17e5c5ce046 (patch)
treef77022590d38f5bee783731bbfe103e8f371434f /src/gallium/drivers
parent518171a887437e4d3fc2c8cea871862afb63c11c (diff)
i965g: initialize winsys pointer in surface cache
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/i965/brw_state_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_state_cache.c b/src/gallium/drivers/i965/brw_state_cache.c
index 1cb1b5e7215..071a942e5ca 100644
--- a/src/gallium/drivers/i965/brw_state_cache.c
+++ b/src/gallium/drivers/i965/brw_state_cache.c
@@ -462,6 +462,7 @@ brw_init_surface_cache(struct brw_context *brw)
struct brw_cache *cache = &brw->surface_cache;
cache->brw = brw;
+ cache->sws = brw->sws;
cache->size = 7;
cache->n_items = 0;