From: Dave Airlie Date: Tue, 31 Mar 2009 00:46:27 +0000 (+1000) Subject: r200: only set all dirty on kernel clears X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=226c876a52c1bd51d5f16ff58df5c4144355e2a3;p=mesa.git r200: only set all dirty on kernel clears --- diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.c b/src/mesa/drivers/dri/r200/r200_ioctl.c index b8e40da475c..0262aea880e 100644 --- a/src/mesa/drivers/dri/r200/r200_ioctl.c +++ b/src/mesa/drivers/dri/r200/r200_ioctl.c @@ -251,10 +251,10 @@ static void r200Clear( GLcontext *ctx, GLbitfield mask ) if (rmesa->radeon.radeonScreen->kernel_mm) r200UserClear(ctx, orig_mask); - else + else { r200KernelClear(ctx, flags); - - rmesa->radeon.hw.all_dirty = GL_TRUE; + rmesa->radeon.hw.all_dirty = GL_TRUE; + } } /* This version of AllocateMemoryMESA allocates only GART memory, and