diff options
-rw-r--r-- | src/amdgpu_glamor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amdgpu_glamor.c b/src/amdgpu_glamor.c index 31fcfb4..f867392 100644 --- a/src/amdgpu_glamor.c +++ b/src/amdgpu_glamor.c @@ -210,6 +210,7 @@ amdgpu_glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth, return NULL; if (usage != CREATE_PIXMAP_USAGE_BACKING_PIXMAP && + usage != CREATE_PIXMAP_USAGE_SHARED && !info->shadow_primary && w >= scrn->virtualX && w <= scrn->displayWidth && |