summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/renderonly/renderonly.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/renderonly/renderonly.c')
-rw-r--r--src/gallium/auxiliary/renderonly/renderonly.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/auxiliary/renderonly/renderonly.c b/src/gallium/auxiliary/renderonly/renderonly.c
index 2daf36920c0..00c8a7eeb45 100644
--- a/src/gallium/auxiliary/renderonly/renderonly.c
+++ b/src/gallium/auxiliary/renderonly/renderonly.c
@@ -37,20 +37,6 @@
#include "util/u_inlines.h"
#include "util/u_memory.h"
-struct renderonly *
-renderonly_dup(const struct renderonly *ro)
-{
- struct renderonly *copy;
-
- copy = CALLOC_STRUCT(renderonly);
- if (!copy)
- return NULL;
-
- memcpy(copy, ro, sizeof(*ro));
-
- return copy;
-}
-
void
renderonly_scanout_destroy(struct renderonly_scanout *scanout,
struct renderonly *ro)