projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b2714
)
use pipe_surface_reference() in sp_tile_cache_set_surface()
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 8 Nov 2007 22:00:11 +0000
(15:00 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 8 Nov 2007 22:00:11 +0000
(15:00 -0700)
src/mesa/pipe/softpipe/sp_tile_cache.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/softpipe/sp_tile_cache.c
b/src/mesa/pipe/softpipe/sp_tile_cache.c
index 9542ec3765970f8f966bb97920a037d316be1d41..19c06323e1f072ebfc8b35da7356830cec23610f 100644
(file)
--- 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)
;
}