Fix green background image in titler

CCBUG: 358185
parent 249c70fa
......@@ -478,7 +478,7 @@ void GLWidget::paintGL()
if (!m_fbo || m_fbo->size() != QSize(fullWidth, fullHeight)) {
delete m_fbo;
QOpenGLFramebufferObjectFormat fmt;
fmt.setSamples(0);
fmt.setSamples(1);
fmt.setInternalTextureFormat(GL_RGB); //GL_RGBA32F); // which one is the fastest ?
m_fbo = new QOpenGLFramebufferObject(fullWidth, fullHeight, fmt); //GL_TEXTURE_2D);
}
......
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