diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-03-21 00:11:25 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-03-21 00:11:25 +1100 |
commit | c7e9cb10937391c25a884fe62db91ea9b910d672 (patch) | |
tree | 42a854fef74df0d07421ebe466857260fe096e1a /src/gallium/drivers/softpipe/sp_tile_cache.c | |
parent | 62767cf2dd1006621ecd6023b15d65b5cff41dfa (diff) | |
parent | 122ed506f4b808503b230bade421018614dbe696 (diff) |
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tile_cache.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tile_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tile_cache.c b/src/gallium/drivers/softpipe/sp_tile_cache.c index 4caf2dd3fc..19f71887e7 100644 --- a/src/gallium/drivers/softpipe/sp_tile_cache.c +++ b/src/gallium/drivers/softpipe/sp_tile_cache.c @@ -156,6 +156,7 @@ sp_tile_cache_set_surface(struct softpipe_tile_cache *tc, if (tc->surface_map) { /*assert(tc->surface != ps);*/ pipe_surface_unmap(tc->surface); + tc->surface_map = NULL; } pipe_surface_reference(&tc->surface, ps); |