mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
nvc0: s/nblocksx/nblocksy for height in resource_copy_region
This commit is contained in:
parent
d7a23cfb88
commit
11f07a35f4
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ nvc0_resource_copy_region(struct pipe_context *pipe,
|
|||
struct nvc0_m2mf_rect drect, srect;
|
||||
unsigned i;
|
||||
unsigned nx = util_format_get_nblocksx(src->format, src_box->width);
|
||||
unsigned ny = util_format_get_nblocksx(src->format, src_box->height);
|
||||
unsigned ny = util_format_get_nblocksy(src->format, src_box->height);
|
||||
|
||||
nvc0_setup_m2mf_rect(&drect, dst, dst_level, dstx, dsty, dstz);
|
||||
nvc0_setup_m2mf_rect(&srect, src, src_level,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue