Skip to content

vrend: Check correct gbm_bo_map return value

Gert Wollny requested to merge gerddie/virglrenderer:fix-gbm_bo_map-check into main

On failure gbm_bo_map will return MAP_FAILURE and not necessarily NULL. Since the return value needs "sys/mman.h" test for the header and enable EGL only if it is found.

Fix suggested by Ryan Neph.

Signed-off-by: Gert Wollny

Merge request reports