mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
radeon: use mipmap fns in FBO code
This commit is contained in:
parent
0968512f8f
commit
06cb6f7aa7
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue