diff options
author | Brian <[email protected]> | 2007-11-08 15:00:11 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-11-08 15:00:11 -0700 |
commit | a7be1c5ac25fe86c4b217625976af1eb37e48a25 (patch) | |
tree | 3edb061d35f77ec2c4959931be6ee675aa42f486 /src/mesa | |
parent | c0b27149458c1c70b8664cdedb2be842229f4359 (diff) |
use pipe_surface_reference() in sp_tile_cache_set_surface()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_tile_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_tile_cache.c b/src/mesa/pipe/softpipe/sp_tile_cache.c index 9542ec37659..19c06323e1f 100644 --- a/src/mesa/pipe/softpipe/sp_tile_cache.c +++ b/src/mesa/pipe/softpipe/sp_tile_cache.c @@ -126,7 +126,7 @@ void sp_tile_cache_set_surface(struct softpipe_tile_cache *tc, struct pipe_surface *ps) { - tc->surface = ps; + pipe_surface_reference(&tc->surface, ps); } |