summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/nv50/nv50_clear.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/nv50/nv50_clear.c')
-rw-r--r--src/mesa/pipe/nv50/nv50_clear.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv50/nv50_clear.c b/src/mesa/pipe/nv50/nv50_clear.c
index 85af1af78d..2b453a49d1 100644
--- a/src/mesa/pipe/nv50/nv50_clear.c
+++ b/src/mesa/pipe/nv50/nv50_clear.c
@@ -10,6 +10,5 @@ void
nv50_clear(struct pipe_context *pipe, struct pipe_surface *ps,
unsigned clearValue)
{
- pipe->region_fill(pipe, ps->region, 0, 0, 0, ps->width, ps->height,
- clearValue);
+ pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);
}