Vsync tweaks

Try to use adaptive vsync if available
Don't use vsync if unavailable
This commit is contained in:
Capostrophic 2019-03-18 19:21:07 +03:00
parent e2ed90e67b
commit 9b65f0dbca
2 changed files with 25 additions and 2 deletions

View file

@ -80,6 +80,9 @@ public:
SDL_Window *mWindow;
};
private:
void setSwapInterval(bool enable);
};
}