diff options
author | Dave Airlie <airlied@linux.ie> | 2009-03-22 11:57:03 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-03-22 11:57:03 +1000 |
commit | 06cb6f7aa799e25b4a53f8c547a8f4ca909fe245 (patch) | |
tree | ae0929e79522428a708f7e7cb8a5452b8af5be81 /src | |
parent | 0968512f8f4abc5bce84c200bd99f8a522d56122 (diff) |
radeon: use mipmap fns in FBO code
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_fbo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c b/src/mesa/drivers/dri/radeon/radeon_fbo.c index 2125a65183..a55a563340 100644 --- 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); } |