summaryrefslogtreecommitdiff
path: root/render/mirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/mirect.c')
-rw-r--r--render/mirect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/mirect.c b/render/mirect.c
index 87767a76c..464df51c1 100644
--- a/render/mirect.c
+++ b/render/mirect.c
@@ -135,8 +135,8 @@ miCompositeRects (CARD8 op,
if (!rgbaFormat)
goto bail1;
- pPixmap = (*pScreen->CreatePixmap) (pScreen, 1, 1,
- rgbaFormat->depth);
+ pPixmap = (*pScreen->CreatePixmap) (pScreen, 1, 1, rgbaFormat->depth,
+ CREATE_PIXMAP_USAGE_SCRATCH);
if (!pPixmap)
goto bail2;