libdri: Make sure the new DRIInfo keepFDOpen member is honoured.
This commit is contained in:
parent
e1f0b3e70b
commit
d0e55774e0
|
@ -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…
Reference in New Issue