Commit e258f612 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Fix Qt Angle OpenGL backend

parent 351926ec
......@@ -168,7 +168,7 @@ void GLWidget::updateAudioForAnalysis()
void GLWidget::initializeGL()
{
if (m_isInitialized || !isVisible() || (openglContext() == nullptr)) return;
if (m_isInitialized) return;
openglContext()->makeCurrent(&m_offscreenSurface);
initializeOpenGLFunctions();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment