diff options
author | José Fonseca <[email protected]> | 2009-09-20 12:28:07 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-09-20 18:09:34 +0100 |
commit | 76c2e34b22836c3a71a096be5620ded97a2ae636 (patch) | |
tree | 63a39614976e3d1777979c561bfa62a82d968e07 /src/gallium/drivers/llvmpipe | |
parent | ebf2710b2fd21ae9a6604c015ca7a948589f5a8c (diff) |
llvmpipe: Update tile status on flush.
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_tile_cache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_tile_cache.c b/src/gallium/drivers/llvmpipe/lp_tile_cache.c index 143afec3d35..ddda5650a92 100644 --- a/src/gallium/drivers/llvmpipe/lp_tile_cache.c +++ b/src/gallium/drivers/llvmpipe/lp_tile_cache.c @@ -225,11 +225,14 @@ lp_flush_tile_cache(struct llvmpipe_tile_cache *tc) tc->clear_val); screen->transfer_unmap(screen, pt); + + tile->status = LP_TILE_STATUS_UNDEFINED; break; } case LP_TILE_STATUS_DEFINED: lp_put_tile_rgba_soa(pt, x, y, tile->color); + tile->status = LP_TILE_STATUS_UNDEFINED; break; } } |