frontend: Set swap interval to 0

This commit is contained in:
fearlessTobi
2018-09-06 18:57:51 +02:00
parent 77554ac773
commit 742f895f8b
2 changed files with 2 additions and 0 deletions

View File

@ -256,6 +256,7 @@ void GRenderWindow::InitRenderTarget() {
QGLFormat fmt;
fmt.setVersion(3, 3);
fmt.setProfile(QGLFormat::CoreProfile);
fmt.setSwapInterval(false);
// Requests a forward-compatible context, which is required to get a 3.2+ context on OS X
fmt.setOption(QGL::NoDeprecatedFunctions);