diff options
author | Dave Airlie <airlied@redhat.com> | 2012-09-20 14:05:15 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-09-20 14:33:49 +1000 |
commit | a9414c8c99d45534141fae5eeba2066dc52c50ea (patch) | |
tree | aefb9ad3752c4298a5643f33d0d3ac83fb89cc28 | |
parent | 8c73c1c880214dba26f9d42204f199478d8afde7 (diff) |
fb: init pixmap
-rw-r--r-- | fb/fbpixmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fb/fbpixmap.c b/fb/fbpixmap.c index fbcdca99c..e45929193 100644 --- a/fb/fbpixmap.c +++ b/fb/fbpixmap.c @@ -67,6 +67,8 @@ fbCreatePixmapBpp(ScreenPtr pScreen, int width, int height, int depth, int bpp, pPixmap->devKind = paddedWidth; pPixmap->refcnt = 1; pPixmap->devPrivate.ptr = (pointer) ((char *) pPixmap + base + adjust); + pPixmap->gpu[0] = NULL; + pPixmap->master_pixmap = NULL; #ifdef FB_DEBUG pPixmap->devPrivate.ptr = |