summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_context.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-25 18:50:15 -0600
committerBrian <[email protected]>2007-10-25 20:32:45 -0600
commitee80e0b620c5b9af62dac8ad64a84042b46f5264 (patch)
treef41b4fdaa0ff6658ff991925cd14423cdbc3f592 /src/mesa/pipe/softpipe/sp_context.c
parentafd19177e4e6571858fc94ab6be1b12bb54a04ed (diff)
Move the get/put_tile() functions to pipe_context.
The _rgba versions are temporary until the state tracker is updated.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.c b/src/mesa/pipe/softpipe/sp_context.c
index bf61019f624..476d4ac01cc 100644
--- a/src/mesa/pipe/softpipe/sp_context.c
+++ b/src/mesa/pipe/softpipe/sp_context.c
@@ -171,9 +171,9 @@ softpipe_unmap_surfaces(struct softpipe_context *sp)
uint i;
for (i = 0; i < PIPE_MAX_COLOR_BUFS; i++)
- sp_flush_tile_cache(sp->cbuf_cache[i]);
- sp_flush_tile_cache(sp->zbuf_cache);
- sp_flush_tile_cache(sp->sbuf_cache);
+ sp_flush_tile_cache(sp, sp->cbuf_cache[i]);
+ sp_flush_tile_cache(sp, sp->zbuf_cache);
+ sp_flush_tile_cache(sp, sp->sbuf_cache);
for (i = 0; i < sp->framebuffer.num_cbufs; i++) {
struct pipe_surface *ps = sp->framebuffer.cbufs[i];