From c1013f5d404880046f304de706d4216b08bd3011 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 9 Oct 2009 12:26:49 +0100 Subject: llvmpipe: remove dead code --- src/gallium/drivers/llvmpipe/lp_state_surface.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/llvmpipe/lp_state_surface.c') 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; } } -- cgit v1.2.3