summaryrefslogtreecommitdiff
path: root/lib/mesa/src/loader
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-09-09 09:59:16 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-09-09 09:59:16 +0000
commit884abe30143f8f6bceb6f3fc7febec2c07d51821 (patch)
tree21cfa7f0f49cdb4a078e8bfd76b4cc5a8711c444 /lib/mesa/src/loader
parent17251c8fe97e6c8f1f6e21767313ce4bfa80a547 (diff)
Merge Mesa 21.1.8
Diffstat (limited to 'lib/mesa/src/loader')
-rw-r--r--lib/mesa/src/loader/loader_dri3_helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mesa/src/loader/loader_dri3_helper.c b/lib/mesa/src/loader/loader_dri3_helper.c
index 6c4b704ae..7b7dc6c01 100644
--- a/lib/mesa/src/loader/loader_dri3_helper.c
+++ b/lib/mesa/src/loader/loader_dri3_helper.c
@@ -1444,7 +1444,8 @@ dri3_alloc_render_buffer(struct loader_dri3_drawable *draw, unsigned int format,
dri3_linear_format_for_format(draw, format),
__DRI_IMAGE_USE_SHARE |
__DRI_IMAGE_USE_LINEAR |
- __DRI_IMAGE_USE_BACKBUFFER,
+ __DRI_IMAGE_USE_BACKBUFFER |
+ __DRI_IMAGE_USE_SCANOUT,
buffer);
pixmap_buffer = buffer->linear_buffer;