egl: check eglExportDMABUFImageMESA return value

Found thanks to llvm scan-build.

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
macos/master
Marc-André Lureau 9 years ago committed by Dave Airlie
parent 221006de6c
commit a62554cca9
  1. 2
      src/virgl_egl_context.c

@ -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

Loading…
Cancel
Save