eglfs: Use drmClose in drm/EGLDevice backend
Pick-to: 6.0 5.15 Fixes: QTBUG-90350 Change-Id: I29a71e4abc2df7b777a895792bc5385a89223895 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
This commit is contained in:
parent
167bcafcb6
commit
9573441236
@ -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