Commit 8f43cbb7 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Try to improve default OpenGL format for monitor view

parent 5dae3017
......@@ -120,8 +120,7 @@ GLWidget::GLWidget(int id, QObject *parent)
setPersistentSceneGraph(true);
setClearBeforeRendering(false);
setResizeMode(QQuickView::SizeRootObjectToView);
m_offscreenSurface.setFormat(QWindow::format());
m_offscreenSurface.setFormat(QOpenGLContext::globalShareContext()->format());
m_offscreenSurface.create();
m_refreshTimer.setSingleShot(true);
......
  • This solves the issue with OpenGL backend that the master audio meter stops showing up "bars" after 2 sec of playing. Now it shows the "bars" during the whole playing like with DirectX backend.

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