platforms/drm: add outputs on EglGbmBackend initialisation
BUG: 437761
This commit is contained in:
parent
33bb146861
commit
7bf79090cf
1 changed files with 7 additions and 1 deletions
|
@ -147,7 +147,13 @@ bool EglGbmBackend::initRenderingContext()
|
|||
{
|
||||
initBufferConfigs();
|
||||
if (isPrimary()) {
|
||||
return createContext() && makeCurrent();
|
||||
if (!createContext() || !makeCurrent()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
const auto outputs = m_gpu->outputs();
|
||||
for (const auto &output : outputs) {
|
||||
addOutput(output);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue