mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
render: drop PictureScreenPrivateKey and PictureWindowPrivateKey defines
Not used by any external drivers, so we can drop them and directly use the corresponding fields. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
3550e1e873
commit
39cf14d0e9
@@ -1395,7 +1395,7 @@ FreePicture(void *value, XID pid)
|
||||
PicturePtr *pPrev;
|
||||
|
||||
for (pPrev = (PicturePtr *) dixLookupPrivateAddr
|
||||
(&pWindow->devPrivates, PictureWindowPrivateKey);
|
||||
(&pWindow->devPrivates, &PictureWindowPrivateKeyRec);
|
||||
*pPrev; pPrev = &(*pPrev)->pNext) {
|
||||
if (*pPrev == pPicture) {
|
||||
*pPrev = pPicture->pNext;
|
||||
|
||||
Reference in New Issue
Block a user