use pipe_surface_reference() in sp_tile_cache_set_surface()

This commit is contained in:
Brian
2007-11-08 15:00:11 -07:00
parent c0b2714945
commit a7be1c5ac2

View File

@@ -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);
}