diff options
author | Dave Airlie <airlied@linux.ie> | 2008-09-25 15:40:19 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-09-26 08:59:30 +1000 |
commit | 5bf3f0fd4e00f96cfebd14b58580c3c8733626fb (patch) | |
tree | 93e67e833687e8cb7296fede5d2a3b42a711ecfb /exa | |
parent | 82f150d73cc9a7d8eaf7241a51b03af05bcec159 (diff) |
exa: make sure pixmap devPrivate.ptr is NULL at create time
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -325,6 +325,9 @@ exaCreatePixmap(ScreenPtr pScreen, int w, int h, int depth, pExaPixmap->score = EXA_PIXMAP_SCORE_PINNED; pExaPixmap->fb_ptr = NULL; pExaPixmap->pDamage = NULL; + pExaPixmap->sys_ptr = pPixmap->devPrivate.ptr; + pPixmap->devPrivate.ptr = NULL; + } else { pExaPixmap->driverPriv = NULL; /* Scratch pixmaps may have w/h equal to zero, and may not be |