virgl: fd should be an int in export_fence

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Acked-by: David Stevens <stevensd@chromium.org>
macos/master
Chia-I Wu 4 years ago
parent c7c102bab3
commit 1a8b82fdde
  1. 2
      src/virglrenderer.c
  2. 2
      src/virglrenderer.h

@ -765,7 +765,7 @@ virgl_renderer_resource_export_blob(uint32_t res_id, uint32_t *fd_type, int *fd)
}
int
virgl_renderer_export_fence(uint32_t client_fence_id, uint32_t *fd)
virgl_renderer_export_fence(uint32_t client_fence_id, int *fd)
{
return vrend_renderer_export_fence(client_fence_id, fd);
}

@ -298,7 +298,7 @@ VIRGL_EXPORT int
virgl_renderer_resource_export_blob(uint32_t res_id, uint32_t *fd_type, int *fd);
VIRGL_EXPORT int
virgl_renderer_export_fence(uint32_t client_fence_id, uint32_t *fd);
virgl_renderer_export_fence(uint32_t client_fence_id, int *fd);
#endif /* VIRGL_RENDERER_UNSTABLE_APIS */

Loading…
Cancel
Save