mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 18:40:02 +01:00
libdri: Make sure the new DRIInfo keepFDOpen member is honoured.
This commit is contained in:
parent
e1f0b3e70b
commit
d0e55774e0
1 changed files with 3 additions and 0 deletions
|
|
@ -473,6 +473,9 @@ DRIScreenInit(ScreenPtr pScreen, DRIInfoPtr pDRIInfo, int *pDRMFD)
|
||||||
pDRIPriv->pLockRefCount = &pDRIEntPriv->lockRefCount;
|
pDRIPriv->pLockRefCount = &pDRIEntPriv->lockRefCount;
|
||||||
pDRIPriv->pLockingContext = &pDRIEntPriv->lockingContext;
|
pDRIPriv->pLockingContext = &pDRIEntPriv->lockingContext;
|
||||||
|
|
||||||
|
if (!pDRIEntPriv->keepFDOpen)
|
||||||
|
pDRIEntPriv->keepFDOpen = pDRIInfo->keepFDOpen;
|
||||||
|
|
||||||
pDRIEntPriv->refCount++;
|
pDRIEntPriv->refCount++;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue