kaa: update kaaCreatePixmap to support the new usage_int
This commit is contained in:
parent
ea9c63e93b
commit
be0cbe5a33
|
@ -314,7 +314,7 @@ kaaCreatePixmap(ScreenPtr pScreen, int w, int h, int depth, unsigned usage_hint)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pPixmap = fbCreatePixmapBpp (pScreen, w, h, depth, bpp);
|
pPixmap = fbCreatePixmapBpp (pScreen, w, h, depth, bpp, usage_hint);
|
||||||
if (!pPixmap)
|
if (!pPixmap)
|
||||||
return NULL;
|
return NULL;
|
||||||
pKaaPixmap = KaaGetPixmapPriv(pPixmap);
|
pKaaPixmap = KaaGetPixmapPriv(pPixmap);
|
||||||
|
|
Loading…
Reference in New Issue