mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
Merge branch 'mip_size' into 'main'
gsk: Fix blit sizes while generating mipmaps on vk See merge request GNOME/gtk!6875
This commit is contained in:
commit
87b66de109
@ -129,8 +129,8 @@ gsk_gpu_mipmap_op_vk_command (GskGpuOp *op,
|
|||||||
.z = 0,
|
.z = 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.x = width / 2,
|
.x = MAX (1, width / 2),
|
||||||
.y = height / 2,
|
.y = MAX (1, height / 2),
|
||||||
.z = 1,
|
.z = 1,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user