From 19723b3858210c845960e8dab0fd41c33e5a8277 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Sat, 20 Aug 2011 16:47:34 +1000 Subject: [PATCH] Another GL sync test --- Graphs/graphwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Graphs/graphwindow.cpp b/Graphs/graphwindow.cpp index bcf9b40b..13d10683 100644 --- a/Graphs/graphwindow.cpp +++ b/Graphs/graphwindow.cpp @@ -811,6 +811,12 @@ void gGraphWindow::initializeGL() m_scrX=width(); m_scrY=height(); + QGLFormat glFormat(QGL::SampleBuffers); + glFormat.setAlpha(true); + glFormat.setDirectRendering(true); + glFormat.setSwapInterval(1); + setFormat(glFormat); + } bool first_draw_event=true;