From 5e96feed379c89e71834f372af6ba92098874d63 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Sat, 31 Jan 2009 14:34:15 +0200 Subject: [PATCH] nv20: set surface status in clear() Other nvXX drivers seem to do this, so I do it too. Signed-off-by: Pekka Paalanen --- src/gallium/drivers/nv20/nv20_clear.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nv20/nv20_clear.c b/src/gallium/drivers/nv20/nv20_clear.c index 81b6f3e78ac..29f4afd87c9 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; } -- 2.30.2