From ce7ac8e7439fba74fc1ee368559dd520a2d1eabe Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 8 Oct 2009 17:06:32 +0100 Subject: llvmpipe: Update lp_setup_clear invocation. --- src/gallium/drivers/llvmpipe/lp_clear.c | 2 +- src/gallium/drivers/llvmpipe/lp_setup.h | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'src/gallium/drivers/llvmpipe') diff --git a/src/gallium/drivers/llvmpipe/lp_clear.c b/src/gallium/drivers/llvmpipe/lp_clear.c index 9efb3d4083..4bae44e2ea 100644 --- a/src/gallium/drivers/llvmpipe/lp_clear.c +++ b/src/gallium/drivers/llvmpipe/lp_clear.c @@ -55,5 +55,5 @@ llvmpipe_clear(struct pipe_context *pipe, if (llvmpipe->no_rast) return; - lp_setup_clear( llvmpipe->setup, buffers, rgba, depth, stencil ); + lp_setup_clear( llvmpipe->setup, rgba, depth, stencil, buffers ); } diff --git a/src/gallium/drivers/llvmpipe/lp_setup.h b/src/gallium/drivers/llvmpipe/lp_setup.h index 39e7b558c8..6d741f7271 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.h +++ b/src/gallium/drivers/llvmpipe/lp_setup.h @@ -27,6 +27,7 @@ #ifndef LP_SETUP_H #define LP_SETUP_H +#include "pipe/p_compiler.h" enum lp_interp { LP_INTERP_CONSTANT, @@ -42,11 +43,11 @@ struct setup_context * lp_setup_create( void ); void -lp_setup_clear(struct pipe_context *pipe, - unsigned buffers, - const float *rgba, - double depth, - unsigned stencil); +lp_setup_clear(struct setup_context *setup, + const float *clear_color, + double clear_depth, + unsigned clear_stencil, + unsigned flags); void lp_setup_triangle(struct setup_context *setup, -- cgit v1.2.3