summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-09 21:10:39 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-12-09 21:10:39 -0700
commit98848382731b71a51e4a80f1820f009e70f06a25 (patch)
tree13d6a08bf46f492ee5266069de248de9642c74b1 /src/mesa/pipe/softpipe/sp_context.h
parent04e88f469cf6c338ba04640738865b59e160c3d4 (diff)
Fix looping for multi-color buffer writing.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index d4763a98c6..b97cdc52c6 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -154,7 +154,7 @@ struct softpipe_context {
struct draw_stage *setup;
struct draw_stage *vbuf;
- struct pipe_surface *cbuf; /**< current color buffer (one of cbufs) */
+ uint current_cbuf; /**< current color buffer being written to */
struct softpipe_tile_cache *cbuf_cache[PIPE_MAX_COLOR_BUFS];
struct softpipe_tile_cache *zbuf_cache;