Commit a62554cc authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Dave Airlie

egl: check eglExportDMABUFImageMESA return value

Found thanks to llvm scan-build.
Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@gmail.com>
parent 221006de
......@@ -318,6 +318,8 @@ int virgl_egl_get_fd_for_texture(struct virgl_egl *ve, uint32_t tex_id, int *fd)
fd,
&stride,
&offset);
if (!b)
goto out_destroy;
#else
goto out_destroy;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment