summaryrefslogtreecommitdiff
path: root/hw/xgl/xglshm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xgl/xglshm.c')
-rw-r--r--hw/xgl/xglshm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xgl/xglshm.c b/hw/xgl/xglshm.c
index 52a8aabb8..567daa954 100644
--- a/hw/xgl/xglshm.c
+++ b/hw/xgl/xglshm.c
@@ -64,7 +64,8 @@ xglShmPutImage (DrawablePtr pDrawable,
}
else
{
- pPixmap = (*pScreen->CreatePixmap) (pScreen, sw, sh, depth);
+ pPixmap = (*pScreen->CreatePixmap) (pScreen, sw, sh, depth,
+ CREATE_PIXMAP_USAGE_SCRATCH);
if (pPixmap)
{
GCPtr pScratchGC;