aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2016-05-13 21:19:19 +0200
committerJean-Baptiste Mardelle <[email protected]>2016-05-13 21:19:19 +0200
commitc7cb56eb5192d230de6b4bcb7d21346f7c0ae4e4 (patch)
tree91c79ac4e40857f9e7f2f35fbf2214b0b0d69ada
parent249c70fa9da42c228a53653afe5ddae323b91c41 (diff)
Fix green background image in titler
-rw-r--r--src/monitor/glwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor/glwidget.cpp b/src/monitor/glwidget.cpp
index 3950189..7e37f5b 100644
--- a/src/monitor/glwidget.cpp
+++ b/src/monitor/glwidget.cpp
@@ -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);
}