mirror of
https://github.com/PabloMK7/citra.git
synced 2025-12-14 11:18:47 +00:00
Reintroduce a vsync option for people with really bad drivers
This commit is contained in:
parent
65613cce81
commit
36c5058d66
8 changed files with 54 additions and 3 deletions
|
|
@ -2075,7 +2075,7 @@ int main(int argc, char* argv[]) {
|
|||
QSurfaceFormat format;
|
||||
format.setVersion(3, 3);
|
||||
format.setProfile(QSurfaceFormat::CoreProfile);
|
||||
format.setSwapInterval(1);
|
||||
format.setSwapInterval(0);
|
||||
// TODO: expose a setting for buffer value (ie default/single/double/triple)
|
||||
format.setSwapBehavior(QSurfaceFormat::DefaultSwapBehavior);
|
||||
QSurfaceFormat::setDefaultFormat(format);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue