summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-10-03 11:56:04 +1000
committerDave Airlie <airlied@redhat.com>2007-10-03 11:56:04 +1000
commit1df1fee82d3565f6d8cfb91ce25a81c23a10a4b5 (patch)
tree2a213f77501b53b14cfa304e670a1509700082dc /exa
parentc8ccf469dcb2d7609b23faa8b4999c436263051e (diff)
exa: make sure we set fb_ptr to NULL
Diffstat (limited to 'exa')
-rw-r--r--exa/exa.c5
1 files 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. */