mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 05:50:04 +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->pLockingContext = &pDRIEntPriv->lockingContext;
|
||||
|
||||
if (!pDRIEntPriv->keepFDOpen)
|
||||
pDRIEntPriv->keepFDOpen = pDRIInfo->keepFDOpen;
|
||||
|
||||
pDRIEntPriv->refCount++;
|
||||
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue