Commit ff98a908 authored by Alexandros Frantzis's avatar Alexandros Frantzis Committed by Daniel Stone

clients/simple-dmabuf-egl: Properly check for error in gbm_bo_get_handle_for_plane

gbm_bo_get_handle_for_plane returns handle.s32 == -1 on error, at least
for the Mesa dri implementation.
Reported-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
Signed-off-by: Alexandros Frantzis's avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
parent fe6dd7bc
Pipeline #26934 passed with stage
in 5 minutes and 35 seconds