projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa3a02
)
move assert to avoid crash in debug build.
author
Alan Hourihane
<alanh@vmware.com>
Tue, 8 Dec 2009 13:11:09 +0000
(13:11 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Tue, 8 Dec 2009 13:12:02 +0000
(13:12 +0000)
src/gallium/drivers/llvmpipe/lp_tile_cache.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_tile_cache.c
b/src/gallium/drivers/llvmpipe/lp_tile_cache.c
index e83210f93bc32acdfb70d2884d04b93b7ad9aaf4..7a1ecf5107b218e8844876ef3a9c85fa961c55bc 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_tile_cache.c
+++ b/
src/gallium/drivers/llvmpipe/lp_tile_cache.c
@@
-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 */