mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 04:30:43 +00:00
Another GL sync test
This commit is contained in:
parent
8ed0015279
commit
19723b3858
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user