summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2009-01-31 14:34:15 +0200
committerPekka Paalanen <pq@iki.fi>2009-01-31 23:41:22 +0200
commit5e96feed379c89e71834f372af6ba92098874d63 (patch)
tree3f985ca21de02c19ca88ac32c4950789bd60afb3 /src/gallium/drivers
parent462f09487efac27173c231b09861b4f5316eb11d (diff)
nv20: set surface status in clear()
Other nvXX drivers seem to do this, so I do it too. Signed-off-by: Pekka Paalanen <pq@iki.fi>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nv20/nv20_clear.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv20/nv20_clear.c b/src/gallium/drivers/nv20/nv20_clear.c
index 81b6f3e78a..29f4afd87c 100644
--- a/src/gallium/drivers/nv20/nv20_clear.c
+++ b/src/gallium/drivers/nv20/nv20_clear.c
@@ -9,4 +9,5 @@ nv20_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;
}