mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Vsync tweaks
Try to use adaptive vsync if available Don't use vsync if unavailable
This commit is contained in:
parent
e2ed90e67b
commit
9b65f0dbca
2 changed files with 25 additions and 2 deletions
|
@ -80,6 +80,9 @@ public:
|
|||
|
||||
SDL_Window *mWindow;
|
||||
};
|
||||
|
||||
private:
|
||||
void setSwapInterval(bool enable);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue