QNX: fix build
Remove unused argument and use default contructor for the flags. Change-Id: I09d319bc58199ed713333055a2fdd519c249f831 Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io> Reviewed-by: James McDonnell <jmcdonnell@blackberry.com>bb10
parent
b92ea7db49
commit
7448884bb4
|
|
@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
static QEGLPlatformContext::Flags makeFlags()
|
||||
{
|
||||
QEGLPlatformContext::Flags result = 0;
|
||||
QEGLPlatformContext::Flags result = {};
|
||||
|
||||
if (!QQnxIntegration::instance()->options().testFlag(QQnxIntegration::SurfacelessEGLContext))
|
||||
result |= QEGLPlatformContext::NoSurfaceless;
|
||||
|
|
@ -69,7 +69,7 @@ static QEGLPlatformContext::Flags makeFlags()
|
|||
}
|
||||
|
||||
QQnxGLContext::QQnxGLContext(const QSurfaceFormat &format, QPlatformOpenGLContext *share)
|
||||
: QEGLPlatformContext(format, share, QQnxIntegration::instance()->eglDisplay(), 0, QVariant(),
|
||||
: QEGLPlatformContext(format, share, QQnxIntegration::instance()->eglDisplay(), nullptr,
|
||||
makeFlags())
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue