Skip to content
Commit 384210be authored by Alexandros Frantzis's avatar Alexandros Frantzis Committed by Simon Ser
Browse files

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: default avatarMarius Vlad <marius.vlad@collabora.com>
Signed-off-by: default avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
(cherry picked from commit ff98a908)
parent 91a6a37d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment