mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 04:48:04 +02:00
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:
parent
191e921c57
commit
7eeadac317
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue