llvmpipe: Update tile status on flush.

This commit is contained in:
José Fonseca 2009-09-20 12:28:07 +01:00
parent ebf2710b2f
commit 76c2e34b22
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}
}