diff options
author | Dave Airlie <airlied@redhat.com> | 2007-10-03 11:56:04 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2007-10-03 11:56:04 +1000 |
commit | 1df1fee82d3565f6d8cfb91ce25a81c23a10a4b5 (patch) | |
tree | 2a213f77501b53b14cfa304e670a1509700082dc /exa | |
parent | c8ccf469dcb2d7609b23faa8b4999c436263051e (diff) |
exa: make sure we set fb_ptr to NULL
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -286,8 +286,9 @@ exaCreatePixmap(ScreenPtr pScreen, int w, int h, int depth) (*pScreen->ModifyPixmapHeader)(pPixmap, w, h, 0, 0, paddedWidth, NULL); - pExaPixmap->driverPriv = driver_priv; - pExaPixmap->score = EXA_PIXMAP_SCORE_PINNED; + pExaPixmap->driverPriv = driver_priv; + pExaPixmap->score = EXA_PIXMAP_SCORE_PINNED; + pExaPixmap->fb_ptr = NULL; } else { pExaPixmap->driverPriv = NULL; /* Glyphs have w/h equal to zero, and may not be migrated. See exaGlyphs. */ |