diff options
Diffstat (limited to 'src/gallium')
-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 51e34d0d621..6db7930ec83 100644 --- a/src/gallium/drivers/softpipe/sp_tile_cache.c +++ b/src/gallium/drivers/softpipe/sp_tile_cache.c @@ -172,6 +172,7 @@ sp_tile_cache_set_surface(struct softpipe_tile_cache *tc, } screen->tex_transfer_destroy(tc->transfer); + tc->transfer = NULL; } tc->surface = ps; |