aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_tex_copy.c
diff options
context:
space:
mode:
authorPauli Nieminen <[email protected]>2012-06-12 21:38:52 +0300
committerEric Anholt <[email protected]>2012-08-01 15:31:16 -0700
commit6f6bd8aedcf2b2f0e1ca9a1fa7ded1cb1f5a88ed (patch)
treec58ab2a0d102202d55daf280c09141bb74198f6c /src/mesa/drivers/dri/radeon/radeon_tex_copy.c
parent10169e7adc40b445776453fcc6d3227d7dda5879 (diff)
radeon&r200: Add support for ARB_sampler_objects
Preparation for the mandatory support of ARB_sampler_objects. I have tested this patch with rv280 only. Signed-off-by: Pauli Nieminen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_tex_copy.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_tex_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_tex_copy.c b/src/mesa/drivers/dri/radeon/radeon_tex_copy.c
index 1faf9c81db9..a6c406b2bff 100644
--- a/src/mesa/drivers/dri/radeon/radeon_tex_copy.c
+++ b/src/mesa/drivers/dri/radeon/radeon_tex_copy.c
@@ -72,7 +72,7 @@ do_copy_texsubimage(struct gl_context *ctx,
}
if (!timg->mt) {
- radeon_validate_texture_miptree(ctx, &tobj->base);
+ radeon_validate_texture_miptree(ctx, &tobj->base.Sampler, &tobj->base);
}
assert(rrb->bo);