Add EglDisplay resource to the QNX platform plugin
QtWayland requires this resource. Change-Id: I41f83d93582bfe7c471208e8ca844e24dc2c6da5 Reviewed-by: Dan Cape <dcape@qnx.com> Reviewed-by: Johan Helsing <johan.helsing@qt.io>bb10
parent
b90eaa3bb5
commit
aec3c6a9cb
|
|
@ -94,6 +94,11 @@ void *QQnxNativeInterface::nativeResourceForIntegration(const QByteArray &resour
|
|||
if (resource == "screenContext")
|
||||
return m_integration->screenContext();
|
||||
|
||||
#if QT_CONFIG(opengl)
|
||||
if (resource.toLower() == "egldisplay")
|
||||
return m_integration->eglDisplay();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue