From: Keith Whitwell Date: Wed, 4 Nov 2009 23:27:50 +0000 (+0000) Subject: i965g: initialize winsys pointer in surface cache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3e084c66089704a36f28dfb2bc4b17e5c5ce046;p=mesa.git i965g: initialize winsys pointer in surface cache --- 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;