summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_clear.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-24 13:45:38 +1100
committerBen Skeggs <[email protected]>2008-03-24 13:45:38 +1100
commit5ce37d42b3268102caf8225be4ca18418bfab7c4 (patch)
tree3dab29fe7dea15a5f1a477bb897aeeec21653f78 /src/gallium/drivers/nv40/nv40_clear.c
parent799d3bce06e998e51ad8df6bcadeb41bd061801e (diff)
nv40: maintain pipe_surface status field
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_clear.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_clear.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv40/nv40_clear.c b/src/gallium/drivers/nv40/nv40_clear.c
index 2c4e8f01fda..59efd620e32 100644
--- a/src/gallium/drivers/nv40/nv40_clear.c
+++ b/src/gallium/drivers/nv40/nv40_clear.c
@@ -9,4 +9,5 @@ nv40_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;
}