Commit 9288b557 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix monitor zoom affecting titler background frame.

Related to #1194
parent 7cbb628e
......@@ -584,6 +584,11 @@ void GLWidget::paintGL()
if (m_sendFrame && m_analyseSem.tryAcquire(1)) {
// Render RGB frame for analysis
if (!qFuzzyCompare(m_zoom, 1.0f)) {
// Disable monitor zoom to render frame
modelView = QMatrix4x4();
m_shader->setUniformValue(m_modelViewLocation, modelView);
if ((m_fbo == nullptr) || m_fbo->size() != m_profileSize) {
delete m_fbo;
QOpenGLFramebufferObjectFormat fmt;
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