diff options
author | Keith Whitwell <[email protected]> | 2009-10-09 12:26:49 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-10-09 12:26:49 +0100 |
commit | c1013f5d404880046f304de706d4216b08bd3011 (patch) | |
tree | 0c122bd476634ffeb111f98f44b2f100e3c96ee5 /src/gallium/drivers/llvmpipe/lp_state_surface.c | |
parent | e215f94f15fd20919cc0ed500dc2efde4f076516 (diff) |
llvmpipe: remove dead code
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_surface.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_surface.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_surface.c b/src/gallium/drivers/llvmpipe/lp_state_surface.c index bb1396c3ab8..909ca9f1170 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_surface.c +++ b/src/gallium/drivers/llvmpipe/lp_state_surface.c @@ -31,6 +31,7 @@ #include "lp_context.h" #include "lp_state.h" #include "lp_surface.h" +#include "lp_setup.h" #include "draw/draw_context.h" @@ -82,7 +83,10 @@ llvmpipe_set_framebuffer_state(struct pipe_context *pipe, } if (dirty) { - lp_setup_set_framebuffer( lp->setup, fb ); + lp_setup_bind_framebuffer( lp->setup, + fb->cbufs[0], + fb->zsbuf ); + lp->dirty |= LP_NEW_FRAMEBUFFER; } } |