Skip to content

vrend: Use uint64_t to evaluate readback size

This is to avoid integer overflow. Bail out if the size is larger than UINT_MAX because glReadnPixels can't take larger buffers.

Closes: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/459

Merge request reports

Loading