diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_clear.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup.h | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_clear.c b/src/gallium/drivers/llvmpipe/lp_clear.c index 9efb3d40839..4bae44e2ea2 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 39e7b558c81..6d741f72712 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, |