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:
Enrico Weigelt, metux IT consult
2025-11-21 16:38:40 +01:00
committed by Enrico Weigelt
parent 3550e1e873
commit 39cf14d0e9
2 changed files with 6 additions and 9 deletions

View File

@@ -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;