[virglrenderer-devel] [PATCH 09/11] virglrenderer.h: remove useless struct virgl_resource

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Thu Mar 3 17:46:50 UTC 2016


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Found thanks to IWYU.

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 src/virglrenderer.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/virglrenderer.h b/src/virglrenderer.h
index e9d3e83..c6dc055 100644
--- a/src/virglrenderer.h
+++ b/src/virglrenderer.h
@@ -73,8 +73,6 @@ VIRGL_EXPORT void virgl_renderer_get_rect(int resource_id, struct iovec *iov, un
 
 VIRGL_EXPORT int virgl_renderer_get_fd_for_texture(uint32_t tex_id, int *fd);
 
-struct virgl_resource;
-
 /* virgl bind flags - these are compatible with mesa 10.5 gallium.
    but are fixed, no other should be passed to virgl either. */
 #define VIRGL_RES_BIND_DEPTH_STENCIL (1 << 0)
-- 
2.5.0



More information about the virglrenderer-devel mailing list