platformsupport/scenes/opengl: don't access std::nullopt
This commit is contained in:
parent
2a13a33040
commit
af3bf939c5
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ void AbstractEglBackend::initWayland()
|
|||
continue;
|
||||
}
|
||||
|
||||
const bool externalOnlySupported = withExternalOnlyYUV && info->yuvConversion();
|
||||
const bool externalOnlySupported = withExternalOnlyYUV && info && info->yuvConversion();
|
||||
QList<uint64_t> modifiers = externalOnlySupported ? it->allModifiers : it->nonExternalOnlyModifiers;
|
||||
|
||||
if (externalOnlySupported && !modifiers.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue