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:
Matthias Clasen 2024-02-10 19:13:36 +00:00
commit 87b66de109

View File

@ -129,8 +129,8 @@ gsk_gpu_mipmap_op_vk_command (GskGpuOp *op,
.z = 0,
},
{
.x = width / 2,
.y = height / 2,
.x = MAX (1, width / 2),
.y = MAX (1, height / 2),
.z = 1,
}
},