summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2010-03-07 22:01:56 +0100
committerMaciej Cencora <m.cencora@gmail.com>2010-03-09 21:50:59 +0100
commitb70dcabafce0c1a8a9fbbd84ff196e46b0782ca7 (patch)
tree82a0d1a88e09e701d8343f1fc9b992fca7cae4b9 /src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
parentfd05067c9912e7ee83058a48d6e4c2cd7f262665 (diff)
radeon: mark framebuffer as incomplete if renderbuffer format isn't supported by hw
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c b/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
index c6cc417dd6..78c5f5dd57 100644
--- a/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
+++ b/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
@@ -468,12 +468,9 @@ static void migrate_image_to_miptree(radeon_mipmap_tree *mt,
radeon_mipmap_level *srclvl = &image->mt->levels[image->mtlevel];
- /* TODO: bring back these assertions once the FBOs are fixed */
-#if 0
assert(image->mtlevel == level);
assert(srclvl->size == dstlvl->size);
assert(srclvl->rowstride == dstlvl->rowstride);
-#endif
radeon_bo_map(image->mt->bo, GL_FALSE);