summaryrefslogtreecommitdiffstats
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/renderonly/renderonly.c b/src/gallium/auxiliary/renderonly/renderonly.c
index f83910a9404..d6a34400937 100644
--- a/src/gallium/auxiliary/renderonly/renderonly.c
+++ b/src/gallium/auxiliary/renderonly/renderonly.c
@@ -138,7 +138,7 @@ renderonly_create_gpu_import_for_resource(struct pipe_resource *rsc,
return NULL;
status = screen->resource_get_handle(screen, NULL, rsc, &handle,
- PIPE_HANDLE_USAGE_READ_WRITE);
+ PIPE_HANDLE_USAGE_FRAMEBUFFER_WRITE);
if (!status)
goto free_scanout;