diff options
author | Ben Skeggs <[email protected]> | 2008-02-16 17:23:12 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-02-16 17:23:12 +1100 |
commit | 26add9288c88108e3485ffc57c51ea9bdc0ee719 (patch) | |
tree | 925c82d660e68ec0022c67a0b970b41cc98e6b52 /src/gallium/drivers/nv30/nv30_clear.c | |
parent | 87e3301533aa4d3e6e98db139887ebba3d217f7d (diff) |
nouveau: match gallium code reorginisation.
That was... fun..
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_clear.c')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_clear.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_clear.c b/src/gallium/drivers/nv30/nv30_clear.c new file mode 100644 index 00000000000..71f413588ee --- /dev/null +++ b/src/gallium/drivers/nv30/nv30_clear.c @@ -0,0 +1,12 @@ +#include "pipe/p_context.h" +#include "pipe/p_defines.h" +#include "pipe/p_state.h" + +#include "nv30_context.h" + +void +nv30_clear(struct pipe_context *pipe, struct pipe_surface *ps, + unsigned clearValue) +{ + pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue); +} |