Commit 4b57766b authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix green tint on first image extract.

Related to #1315 #1302
parent a5674a08
Pipeline #129074 passed with stage
in 5 minutes and 26 seconds
......@@ -584,6 +584,7 @@ void GLWidget::paintGL()
if ((m_fbo == nullptr) || m_fbo->size() != m_profileSize) {
delete m_fbo;
QOpenGLFramebufferObjectFormat fmt;
fmt.setSamples(1);
m_fbo = new QOpenGLFramebufferObject(m_profileSize.width(), m_profileSize.height(), fmt); // GL_TEXTURE_2D);
}
m_fbo->bind();
......
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