Merge remote branch 'origin/master' into lp-binning
[mesa.git] / src / gallium / drivers / llvmpipe / lp_setup.c
index 1eb944a0de7901b88f1d1afd2da46a58eff5ebb6..5cdcf4ecc985f0521ddcc9836aa8bc436ee5b5be 100644 (file)
@@ -451,8 +451,8 @@ lp_setup_set_sampler_textures( struct setup_context *setup,
          struct llvmpipe_texture *lp_tex = llvmpipe_texture(tex);
          struct lp_jit_texture *jit_tex;
          jit_tex = &setup->fs.current.jit_context.textures[i];
-         jit_tex->width = tex->width[0];
-         jit_tex->height = tex->height[0];
+         jit_tex->width = tex->width0;
+         jit_tex->height = tex->height0;
          jit_tex->stride = lp_tex->stride[0];
          if(!lp_tex->dt)
             jit_tex->data = lp_tex->data;