llvmpipe: Update tile status on flush.
This commit is contained in:
parent
ebf2710b2f
commit
76c2e34b22
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue