eglfs: Use drmClose in drm/EGLDevice backend
Fixes: QTBUG-90350 Change-Id: I29a71e4abc2df7b777a895792bc5385a89223895 Reviewed-by: Andy Nichols <andy.nichols@qt.io> (cherry picked from commit 957344123672e891a25e55b54dcb012d2017b27a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
b4937f3295
commit
78735236f3
@ -71,7 +71,7 @@ void QEglFSKmsEglDevice::close()
|
||||
{
|
||||
// Note: screens are gone at this stage.
|
||||
|
||||
if (qt_safe_close(fd()) == -1)
|
||||
if (drmClose(fd()) == -1)
|
||||
qErrnoWarning("Could not close DRM (NV) device");
|
||||
|
||||
setFd(-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user