summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_setup_context.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-04 14:22:08 -0700
committerBrian Paul <brianp@vmware.com>2009-12-04 14:22:08 -0700
commit9fca3e065b9ab5ef1389a76934bc24ed2b287a76 (patch)
tree9c87c76932ce88f405f6ba33ffa4b043a6a3cbd1 /src/gallium/drivers/llvmpipe/lp_setup_context.h
parenta08d6302168341001003da32d42cfcff2311fa04 (diff)
llvmpipe: simplify framebuffer state code
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_context.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_context.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_context.h b/src/gallium/drivers/llvmpipe/lp_setup_context.h
index 180b8f6e88..dc12eb7847 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_context.h
+++ b/src/gallium/drivers/llvmpipe/lp_setup_context.h
@@ -79,12 +79,7 @@ struct setup_context {
boolean ccw_is_frontface;
unsigned cullmode;
- struct {
- struct pipe_surface *cbuf;
- struct pipe_surface *zsbuf;
- unsigned width;
- unsigned height;
- } fb;
+ const struct pipe_framebuffer_state *fb;
struct {
unsigned flags;