config: Add a setting for graphics V-Sync.
This commit is contained in:
parent
2267f98941
commit
08ad9b36d4
9 changed files with 20 additions and 1 deletions
|
@ -119,6 +119,7 @@ GRenderWindow::GRenderWindow(QWidget* parent, EmuThread* emu_thread) :
|
|||
QGLFormat fmt;
|
||||
fmt.setVersion(3,3);
|
||||
fmt.setProfile(QGLFormat::CoreProfile);
|
||||
fmt.setSwapInterval(VideoCore::g_vsync_enabled);
|
||||
// Requests a forward-compatible context, which is required to get a 3.2+ context on OS X
|
||||
fmt.setOption(QGL::NoDeprecatedFunctions);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue