diff options
author | Brian Paul <[email protected]> | 2009-12-04 14:22:08 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-04 14:22:08 -0700 |
commit | 9fca3e065b9ab5ef1389a76934bc24ed2b287a76 (patch) | |
tree | 9c87c76932ce88f405f6ba33ffa4b043a6a3cbd1 /src/gallium/drivers/llvmpipe/lp_state_surface.c | |
parent | a08d6302168341001003da32d42cfcff2311fa04 (diff) |
llvmpipe: simplify framebuffer state code
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_surface.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_surface.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_surface.c b/src/gallium/drivers/llvmpipe/lp_state_surface.c index 909ca9f1170..3eff40e3f19 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_surface.c +++ b/src/gallium/drivers/llvmpipe/lp_state_surface.c @@ -83,9 +83,7 @@ llvmpipe_set_framebuffer_state(struct pipe_context *pipe, } if (dirty) { - lp_setup_bind_framebuffer( lp->setup, - fb->cbufs[0], - fb->zsbuf ); + lp_setup_bind_framebuffer( lp->setup, fb ); lp->dirty |= LP_NEW_FRAMEBUFFER; } |