diff options
author | Dave Airlie <[email protected]> | 2009-03-31 10:46:27 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-03-31 10:46:27 +1000 |
commit | 226c876a52c1bd51d5f16ff58df5c4144355e2a3 (patch) | |
tree | 522d8b3dd702f936a18a3bff62efc34d16e4e70e /src/mesa/drivers/dri/r200 | |
parent | e1d16574932be24da573a93e3302418dc6e855f1 (diff) |
r200: only set all dirty on kernel clears
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |