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
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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