scenes/opengl: Remove backend failed check
If the backend has failed to initialize, the constructor won't run.
This commit is contained in:
parent
0f6f4ee624
commit
89067ff9db
1 changed files with 0 additions and 4 deletions
|
@ -75,10 +75,6 @@ SceneOpenGL::SceneOpenGL(OpenGLBackend *backend, QObject *parent)
|
|||
: Scene(parent)
|
||||
, m_backend(backend)
|
||||
{
|
||||
if (m_backend->isFailed()) {
|
||||
init_ok = false;
|
||||
return;
|
||||
}
|
||||
if (!viewportLimitsMatched(screens()->size()))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue