summaryrefslogtreecommitdiff
path: root/hw/xprint/pcl/PclGC.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xprint/pcl/PclGC.c')
-rw-r--r--hw/xprint/pcl/PclGC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xprint/pcl/PclGC.c b/hw/xprint/pcl/PclGC.c
index e64e779db..fbadf5d5d 100644
--- a/hw/xprint/pcl/PclGC.c
+++ b/hw/xprint/pcl/PclGC.c
@@ -712,7 +712,8 @@ PclUpdateDrawableGC(
scratchPix =
(*pGC->pScreen->CreatePixmap)( pGC->pScreen,
- w, h, pGC->depth );
+ w, h, pGC->depth,
+ CREATE_PIXMAP_USAGE_SCRATCH );
scratchGC = GetScratchGC( pGC->depth, pGC->pScreen );
CopyGC( pGC, scratchGC, ~0L );