From 1df1fee82d3565f6d8cfb91ce25a81c23a10a4b5 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 3 Oct 2007 11:56:04 +1000 Subject: [PATCH] exa: make sure we set fb_ptr to NULL --- exa/exa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exa/exa.c b/exa/exa.c index 3e8054da9..8a4b8c114 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -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. */