summaryrefslogtreecommitdiff
path: root/src/nouveau_exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nouveau_exa.c')
-rw-r--r--src/nouveau_exa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c
index 8191aeb..b8e9bef 100644
--- a/src/nouveau_exa.c
+++ b/src/nouveau_exa.c
@@ -139,6 +139,9 @@ nouveau_exa_create_pixmap(ScreenPtr pScreen, int width, int height, int depth,
return NULL;
}
+ if ((usage_hint & 0xffff) == CREATE_PIXMAP_USAGE_SHARED)
+ nvpix->shared = TRUE;
+
return nvpix;
}