Commit 571afe97 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix extract frame on Windows (also used for Titler and scopes)

Fixes #596
parent 241d1ea7
Pipeline #121891 passed with stage
in 6 minutes and 39 seconds
......@@ -584,8 +584,6 @@ void GLWidget::paintGL()
if ((m_fbo == nullptr) || m_fbo->size() != m_profileSize) {
delete m_fbo;
QOpenGLFramebufferObjectFormat fmt;
fmt.setSamples(1);
fmt.setInternalTextureFormat(GL_RGB); // GL_RGBA32F); // which one is the fastest ?
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