be7e09cf4b0644059f3baeebb6233918398b191c
[mesa.git] / src / gallium / drivers / nv20 / nv20_clear.c
1 #include "pipe/p_context.h"
2 #include "pipe/p_defines.h"
3 #include "pipe/p_state.h"
4
5 #include "nv10_context.h"
6
7 void
8 nv10_clear(struct pipe_context *pipe, struct pipe_surface *ps,
9 unsigned clearValue)
10 {
11 pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);
12 }