diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-11-04 23:27:50 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-11-04 23:27:50 +0000 |
commit | e3e084c66089704a36f28dfb2bc4b17e5c5ce046 (patch) | |
tree | f77022590d38f5bee783731bbfe103e8f371434f /src/gallium | |
parent | 518171a887437e4d3fc2c8cea871862afb63c11c (diff) |
i965g: initialize winsys pointer in surface cache
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/i965/brw_state_cache.c | 1 |
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 1cb1b5e721..071a942e5c 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; |