projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0968512
)
radeon: use mipmap fns in FBO code
author
Dave Airlie
<airlied@linux.ie>
Sun, 22 Mar 2009 01:57:03 +0000
(11:57 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Sun, 22 Mar 2009 01:57:03 +0000
(11:57 +1000)
src/mesa/drivers/dri/radeon/radeon_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_fbo.c
b/src/mesa/drivers/dri/radeon/radeon_fbo.c
index 2125a651833fee63491c64cb5450ced427fc74b3..a55a563340b1eb42f5d8bcfe2ff25a7d016cca52 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_fbo.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_fbo.c
@@
-502,7
+502,6
@@
radeon_render_texture(GLcontext * ctx,
radeon_bo_ref(rrb->bo);
}
-#if 0
/* compute offset of the particular 2D image within the texture region */
imageOffset = radeon_miptree_image_offset(radeon_image->mt,
att->CubeMapFace,
@@
-515,8
+514,8
@@
radeon_render_texture(GLcontext * ctx,
}
/* store that offset in the region */
- radeon_image->mt->draw_offset = imageOffset;
-#endif
+
//TODO
radeon_image->mt->draw_offset = imageOffset;
+
/* update drawing region, etc */
radeon_draw_buffer(ctx, fb);
}