scenes/opengl: Remove backend failed check

If the backend has failed to initialize, the constructor won't run.
This commit is contained in:
Vlad Zahorodnii 2021-11-03 17:38:06 +02:00
parent 0f6f4ee624
commit 89067ff9db

View file

@ -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;