diff options
Diffstat (limited to 'composite')
-rw-r--r-- | composite/compalloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/composite/compalloc.c b/composite/compalloc.c index 4666ff01f..0372b9bfa 100644 --- a/composite/compalloc.c +++ b/composite/compalloc.c @@ -462,7 +462,8 @@ compNewPixmap (WindowPtr pWin, int x, int y, int w, int h) WindowPtr pParent = pWin->parent; PixmapPtr pPixmap; - pPixmap = (*pScreen->CreatePixmap) (pScreen, w, h, pWin->drawable.depth); + pPixmap = (*pScreen->CreatePixmap) (pScreen, w, h, pWin->drawable.depth, + CREATE_PIXMAP_USAGE_BACKING_PIXMAP); if (!pPixmap) return 0; |