diff options
author | Dave Airlie <airlied@linux.ie> | 2010-11-03 19:42:44 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2010-11-03 19:42:44 +1000 |
commit | a367555a53222ebec8509c731f8d5c91dce0a5f3 (patch) | |
tree | fd83f037a236bcbfb831894838dc92c52b3c72b5 | |
parent | 2b4efc12d859f8501959202de10c176aab1935dc (diff) |
pixmaps are added back in caller
-rw-r--r-- | dix/pixmap.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dix/pixmap.c b/dix/pixmap.c index 63b3020aa..4fa052dd9 100644 --- a/dix/pixmap.c +++ b/dix/pixmap.c @@ -163,8 +163,5 @@ PixmapPtr DuplicatePixmap(XID pid, ScreenPtr pScreen, PixmapPtr pSrc) /* need to duplicate pixmap contents */ CopyDrawable(&pMap->drawable, &pSrc->drawable); - if (AddResource(pid, RT_PIXMAP, (pointer)pMap)) - return pMap; - - return NULL; + return pMap; } |