OSDN Git Service

llvmpipe: Update lp_setup_clear invocation.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 8 Oct 2009 16:06:32 +0000 (17:06 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 8 Oct 2009 16:06:32 +0000 (17:06 +0100)
src/gallium/drivers/llvmpipe/lp_clear.c
src/gallium/drivers/llvmpipe/lp_setup.h

index 9efb3d4..4bae44e 100644 (file)
@@ -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 );
 }
index 39e7b55..6d741f7 100644 (file)
@@ -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,