summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2014-07-01 02:18:56 +0200
committerRoland Scheidegger <[email protected]>2014-07-02 01:55:59 +0200
commit7e1521f191afe30fcf02a25b68fbf89278f014d3 (patch)
treeb0ec042ddaf88c59cfaebef29ceac3a78f71ebba /src/gallium/drivers/llvmpipe/lp_setup.c
parentb4c3246e7b2e5d8c19bdb6f71efa3cc2b948b1ce (diff)
llvmpipe: get rid of linear_img struct
Just use a tex_data pointer directly - the description was no longer correct neither. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 046611aa736..cbf465e65d1 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -818,7 +818,7 @@ lp_setup_set_fragment_sampler_views(struct lp_setup_context *setup,
*/
mip_ptr = llvmpipe_get_texture_image_all(lp_tex, first_level,
LP_TEX_USAGE_READ);
- jit_tex->base = lp_tex->linear_img.data;
+ jit_tex->base = lp_tex->tex_data;
}
else {
mip_ptr = lp_tex->data;