Displaying 1 result from an estimated 1 matches for "clearvalu".
Did you mean:
clearvalue
2009 Apr 08
0
[PATCH/Gallium] nv50: update nv50_clear to new interface
...db44a9d..45d0a00 100644
--- a/src/gallium/drivers/nv50/nv50_clear.c
+++ b/src/gallium/drivers/nv50/nv50_clear.c
@@ -26,10 +26,15 @@
#include "nv50_context.h"
+#include "util/u_pack_color.h"
+
void
-nv50_clear(struct pipe_context *pipe, struct pipe_surface *ps,
- unsigned clearValue)
+nv50_clear(struct pipe_context *pipe, unsigned buffers,
+ const float *rgba, double depth, unsigned stencil)
{
+ struct pipe_surface *ps = NULL;
+ /* silenced 'used uninitialized' warning by setting NULL,
+ * GCC doesn't know it can't actually happen */
struct nv50_contex...