summaryrefslogtreecommitdiff
path: root/src/amdgpu_dri3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amdgpu_dri3.c')
-rw-r--r--src/amdgpu_dri3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amdgpu_dri3.c b/src/amdgpu_dri3.c
index ce0f8e7..a89421e 100644
--- a/src/amdgpu_dri3.c
+++ b/src/amdgpu_dri3.c
@@ -108,7 +108,8 @@ static PixmapPtr amdgpu_dri3_pixmap_from_fd(ScreenPtr screen,
return NULL;
}
- pixmap = screen->CreatePixmap(screen, 0, 0, depth, 0);
+ pixmap = screen->CreatePixmap(screen, 0, 0, depth,
+ AMDGPU_CREATE_PIXMAP_DRI2);
if (!pixmap)
return NULL;