Another GL sync test

This commit is contained in:
Mark Watkins 2011-08-20 16:47:34 +10:00
parent 8ed0015279
commit 19723b3858

View File

@ -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;