The back-end resource in the backing store pixmaps created by the composite extension is always set by DMX to the backing pixmap on the back-end server. Avoid to create an initial resource for these pixmaps.

This commit is contained in:
David Reveman 2008-07-16 19:51:28 -04:00
parent 191e921c57
commit 7eeadac317

View file

@ -124,7 +124,8 @@ PixmapPtr dmxCreatePixmap(ScreenPtr pScreen, int width, int height, int depth,
pPixPriv->pixmap = (Pixmap)0;
pPixPriv->detachedImage = NULL;
if (usage_hint != CREATE_PIXMAP_USAGE_GLYPH_PICTURE)
if (usage_hint != CREATE_PIXMAP_USAGE_GLYPH_PICTURE &&
usage_hint != CREATE_PIXMAP_USAGE_BACKING_PIXMAP)
{
/* Create the pixmap on the back-end server */
if (dmxScreen->beDisplay) {