eglfs_kms_egldevice: Fix type mess in nativeDisplay() virtual

EGLNativeDisplayType is void* on NVIDIA systems but the backend may get compiled
on others where it is something else. The function definition does not match
the proto on these so it is time to correct this.

Change-Id: I569d9f8f3fcba7b2a4672d83606dfdc7bb18a1f0
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
This commit is contained in:
Laszlo Agocs 2017-04-26 03:31:04 -07:00
parent bf21f71b43
commit 9a640e7bc6

View File

@ -77,9 +77,9 @@ void QEglFSKmsEglDevice::close()
setFd(-1);
}
EGLNativeDisplayType QEglFSKmsEglDevice::nativeDisplay() const
void *QEglFSKmsEglDevice::nativeDisplay() const
{
return reinterpret_cast<EGLNativeDisplayType>(m_devInt->eglDevice());
return m_devInt->eglDevice();
}
QPlatformScreen *QEglFSKmsEglDevice::createScreen(const QKmsOutput &output)