projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
462f094
)
nv20: set surface status in clear()
author
Pekka Paalanen
<pq@iki.fi>
Sat, 31 Jan 2009 12:34:15 +0000
(14:34 +0200)
committer
Pekka Paalanen
<pq@iki.fi>
Sat, 31 Jan 2009 21:41:22 +0000
(23:41 +0200)
Other nvXX drivers seem to do this, so I do it too.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
src/gallium/drivers/nv20/nv20_clear.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv20/nv20_clear.c
b/src/gallium/drivers/nv20/nv20_clear.c
index 81b6f3e78ac4690ea7f3fda1981f826ecfece170..29f4afd87c9487c39a660f0c2c9e83a4e51ddceb 100644
(file)
--- 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;
}