projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mesa_7_6_branch'
[mesa.git]
/
src
/
gallium
/
drivers
/
nv40
/
nv40_clear.c
diff --git
a/src/gallium/drivers/nv40/nv40_clear.c
b/src/gallium/drivers/nv40/nv40_clear.c
index 2c4e8f01fdac7ff4406784dc888eb62864713925..ddf13addf3b984e289e65ac22952762a6e6f6168 100644
(file)
--- a/
src/gallium/drivers/nv40/nv40_clear.c
+++ b/
src/gallium/drivers/nv40/nv40_clear.c
@@
-1,12
+1,14
@@
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
+#include "util/u_clear.h"
#include "nv40_context.h"
void
#include "nv40_context.h"
void
-nv40_clear(struct pipe_context *pipe,
struct pipe_surface *p
s,
-
unsigned clearValue
)
+nv40_clear(struct pipe_context *pipe,
unsigned buffer
s,
+
const float *rgba, double depth, unsigned stencil
)
{
{
- pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);
+ util_clear(pipe, &nv40_context(pipe)->framebuffer, buffers, rgba, depth,
+ stencil);
}
}