diff options
author | Brian Paul <[email protected]> | 2010-03-08 11:43:20 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-03-08 11:43:20 -0700 |
commit | e5923a1240d8b32f5af080b0b4191d3b9299a630 (patch) | |
tree | b186ab69c91eeb1be91c9f3705db82fead819728 /src/gallium/drivers/softpipe | |
parent | 39ab5ae30c303dd561252cb592d4de35814b6a70 (diff) | |
parent | e1762fb870f86afc4f6bd000b4a1c059d161f10d (diff) |
Merge branch '7.8'
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tile_cache.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tile_cache.c b/src/gallium/drivers/softpipe/sp_tile_cache.c index 3b30954ac8d..aedfdf1b469 100644 --- a/src/gallium/drivers/softpipe/sp_tile_cache.c +++ b/src/gallium/drivers/softpipe/sp_tile_cache.c @@ -299,13 +299,14 @@ sp_tile_cache_flush_clear(struct softpipe_tile_cache *tc) x, y, TILE_SIZE, TILE_SIZE, tc->tile.data.color32, 0/*STRIDE*/); - /* do this? */ - clear_clear_flag(tc->clear_flags, addr); - numCleared++; } } } + + /* reset all clear flags to zero */ + memset(tc->clear_flags, 0, sizeof(tc->clear_flags)); + #if 0 debug_printf("num cleared: %u\n", numCleared); #endif |