mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
llvmpipe: fix incorrect 'j' array index in dummy texture code
Use 0 instead. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
975d31f60d
commit
b21f8e364b
1 changed files with 3 additions and 3 deletions
|
|
@ -720,9 +720,9 @@ lp_setup_set_fragment_sampler_views(struct lp_setup_context *setup,
|
|||
jit_tex->depth = 1;
|
||||
jit_tex->first_level = 0;
|
||||
jit_tex->last_level = 0;
|
||||
jit_tex->mip_offsets[j] = 0;
|
||||
jit_tex->row_stride[j] = 0;
|
||||
jit_tex->img_stride[j] = 0;
|
||||
jit_tex->mip_offsets[0] = 0;
|
||||
jit_tex->row_stride[0] = 0;
|
||||
jit_tex->img_stride[0] = 0;
|
||||
}
|
||||
else {
|
||||
jit_tex->width = res->width0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue