mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 11:10:44 +00:00
Rolled back the most recent GL sync method
This commit is contained in:
parent
19723b3858
commit
c8ad0888ff
@ -811,11 +811,11 @@ void gGraphWindow::initializeGL()
|
|||||||
m_scrX=width();
|
m_scrX=width();
|
||||||
m_scrY=height();
|
m_scrY=height();
|
||||||
|
|
||||||
QGLFormat glFormat(QGL::SampleBuffers);
|
/*QGLFormat glFormat(QGL::SampleBuffers);
|
||||||
glFormat.setAlpha(true);
|
glFormat.setAlpha(true);
|
||||||
glFormat.setDirectRendering(true);
|
glFormat.setDirectRendering(true);
|
||||||
glFormat.setSwapInterval(1);
|
glFormat.setSwapInterval(1);
|
||||||
setFormat(glFormat);
|
setFormat(glFormat);*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user