summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/renderonly/renderonly.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/renderonly/renderonly.h')
-rw-r--r--src/gallium/auxiliary/renderonly/renderonly.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/renderonly/renderonly.h b/src/gallium/auxiliary/renderonly/renderonly.h
index fe13fea1495..0d08a16e30f 100644
--- a/src/gallium/auxiliary/renderonly/renderonly.h
+++ b/src/gallium/auxiliary/renderonly/renderonly.h
@@ -59,13 +59,11 @@ struct renderonly {
struct renderonly_scanout *(*create_for_resource)(struct pipe_resource *rsc,
struct renderonly *ro,
struct winsys_handle *out_handle);
+ void (*destroy)(struct renderonly *ro);
int kms_fd;
int gpu_fd;
};
-struct renderonly *
-renderonly_dup(const struct renderonly *ro);
-
static inline struct renderonly_scanout *
renderonly_scanout_for_resource(struct pipe_resource *rsc,
struct renderonly *ro,