summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2008-04-11 21:37:28 +0200
committerPatrice Mandin <pmandin@caramail.com>2008-04-11 21:37:28 +0200
commitb1de9c948f9794db97ed7d34b8cbcdccc206ea77 (patch)
tree8800fa9e39c85d382db5e6a3e49256b23dd866fe /src/gallium/drivers/nv30
parentbdfcce47921cdd808740ee26e6781837351bad98 (diff)
nv30: Set pipe status on clear
Diffstat (limited to 'src/gallium/drivers/nv30')
-rw-r--r--src/gallium/drivers/nv30/nv30_clear.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_clear.c b/src/gallium/drivers/nv30/nv30_clear.c
index 71f413588e..8c3ca204d5 100644
--- a/src/gallium/drivers/nv30/nv30_clear.c
+++ b/src/gallium/drivers/nv30/nv30_clear.c
@@ -9,4 +9,5 @@ nv30_clear(struct pipe_context *pipe, struct pipe_surface *ps,
unsigned clearValue)
{
pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);
+ ps->status = PIPE_SURFACE_STATUS_CLEAR;
}