texenvprogram: fix for ARB_draw_buffers.
[mesa.git] / src / gallium / drivers / nv40 / nv40_clear.c
1 #include "pipe/p_context.h"
2 #include "pipe/p_defines.h"
3 #include "pipe/p_state.h"
4 #include "util/u_clear.h"
5
6 #include "nv40_context.h"
7
8 void
9 nv40_clear(struct pipe_context *pipe, unsigned buffers,
10 const float *rgba, double depth, unsigned stencil)
11 {
12 util_clear(pipe, &nv40_context(pipe)->framebuffer, buffers, rgba, depth,
13 stencil);
14 }