Remove unused GetGlyphPrivatesForScreen.
This commit is contained in:
parent
90b178cc7f
commit
8689849149
|
@ -92,14 +92,6 @@ static GlyphHashRec globalGlyphs[GlyphFormatNum];
|
|||
static void
|
||||
FreeGlyphPrivates (GlyphPtr glyph)
|
||||
{
|
||||
ScreenPtr pScreen;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < screenInfo.numScreens; i++) {
|
||||
pScreen = screenInfo.screens[i];
|
||||
dixFreePrivates(*GetGlyphPrivatesForScreen(glyph, pScreen));
|
||||
}
|
||||
|
||||
dixFreePrivates(glyph->devPrivates);
|
||||
glyph->devPrivates = NULL;
|
||||
}
|
||||
|
|
|
@ -403,9 +403,6 @@ extern RESTYPE GlyphSetType;
|
|||
#define GetPictureWindow(w) ((PicturePtr)dixLookupPrivate(&(w)->devPrivates, PictureWindowPrivateKey))
|
||||
#define SetPictureWindow(w,p) dixSetPrivate(&(w)->devPrivates, PictureWindowPrivateKey, p)
|
||||
|
||||
#define GetGlyphPrivatesForScreen(glyph, s) \
|
||||
((PrivateRec **)dixLookupPrivateAddr(&(glyph)->devPrivates, s))
|
||||
|
||||
#define VERIFY_PICTURE(pPicture, pid, client, mode, err) {\
|
||||
pPicture = SecurityLookupIDByType(client, pid, PictureType, mode);\
|
||||
if (!pPicture) { \
|
||||
|
|
Loading…
Reference in New Issue