mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
move assert to avoid crash in debug build.
This commit is contained in:
parent
eaa3a025da
commit
2aebc5e01f
1 changed files with 2 additions and 1 deletions
|
|
@ -290,11 +290,12 @@ lp_get_cached_tile(struct llvmpipe_tile_cache *tc,
|
|||
|
||||
assert(tc->surface);
|
||||
assert(tc->transfer);
|
||||
assert(tc->transfer_map);
|
||||
|
||||
if(!tc->transfer_map)
|
||||
lp_tile_cache_map_transfers(tc);
|
||||
|
||||
assert(tc->transfer_map);
|
||||
|
||||
switch(tile->status) {
|
||||
case LP_TILE_STATUS_CLEAR:
|
||||
/* don't get tile from framebuffer, just clear it */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue