24aa03e9e8
In the test no front buffer has been allocated on the client side, so we get a segfault when access it directly. eglCopyBuffers() just need to do server side copy, so we don't really need to create a client side front buffer to perform the copy. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13868>