nv30: Set pipe status on clear
authorPatrice Mandin <pmandin@caramail.com>
Fri, 11 Apr 2008 19:37:28 +0000 (21:37 +0200)
committerPatrice Mandin <pmandin@caramail.com>
Fri, 11 Apr 2008 19:37:28 +0000 (21:37 +0200)
src/gallium/drivers/nv30/nv30_clear.c

index 71f413588ee86edd934dc97305c7be70574643e7..8c3ca204d586912aa2ce86735a00bdcd6186e0b0 100644 (file)
@@ -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;
 }